ADO Cancel နည်းလမ်း
❮ Stream Object ရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။
Cancel နည်းလမ်းသည် နည်းလမ်းခေါ်ဆိုမှု၏ လုပ်ဆောင်မှုကို ပယ်ဖျက်သည်။
Cancel နည်းလမ်းသည် အရာဝတ္ထုတစ်ခုစီအတွက် မတူညီသောလုပ်ဆောင်စရာများကို ပယ်ဖျက်ပေးသည်။ ဤနည်းလမ်းကို ခေါ်သောအခါတွင် မည်သည့်လုပ်ငန်းကို ဖျက်သိမ်းသည်ကို အောက်ပါဇယားတွင် ပြသသည်-
Object | Cancelled task |
---|---|
Command | Execute.
Note: The Options parameter of the Execute method must be set to adAsyncExecute or adAsyncFetch, before the Cancel method is called, otherwise a run-time error will occur |
Connection | Execute or Open.
Note: The Options parameter of the Open method must be set to adSyncConnect, or the Options parameter of the Execute method be set to adAsyncExecute or adAsyncFetch, before the Cancel method is called, otherwise a run-time error will occur |
Record | CopyRecord, DeleteRecord, MoveRecord, or Open
Note: The Options parameter of the Execute method must be set to adAsyncExecute or adAsyncFetch, before the Cancel method is called, otherwise a run-time error will occur |
Recordset | Open |
Stream | Open |
အထားအသို
object.Cancel
❮ Stream Object ရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။