Cancel Method (RDS)

Cancels execution of a pending, asynchronous method call.

Important

Beginning with Windows 8 and Windows Server 2012, RDS server components are no longer included in the Windows operating system (see Windows 8 and Windows Server 2012 Compatibility Cookbook for more detail). RDS client components will be removed in a future version of Windows. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Applications that use RDS should migrate to WCF Data Service.

Syntax

  
RDS.DataControl.Cancel  

Remarks

When you call Cancel, ReadyState is automatically set to adcReadyStateLoaded, and the Recordset will be empty.

Applies To

DataControl Object (RDS)

See Also

Cancel Method Example (VBScript)
Cancel Method (ADO)
CancelBatch Method (ADO)
CancelUpdate Method (ADO)
CancelUpdate Method (RDS)
ExecuteOptions Property (RDS)