Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Cancel Method (ADO)

Cancels execution of a pending asynchronous method call.


object.Cancel

Use the Cancel method to terminate execution of an asynchronous method call: that is, a method invoked with the adAsyncConnect, adAsyncExecute, or adAsyncFetch option.

The following table shows what task is terminated when you use the Cancel method on a particular type of object.

If object is a

The last asynchronous call to this method is terminated

Command

Execute

Connection

Execute or Open

Record

CopyRecord, DeleteRecord, MoveRecord, or Open

Recordset

Open

Stream

Open

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.