Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.96 KB

File metadata and controls

44 lines (35 loc) · 1.96 KB
title Cancel Method (RDS) | Microsoft Docs
ms.prod sql
ms.prod_service connectivity
ms.technology connectivity
ms.custom
ms.date 01/19/2017
ms.reviewer
ms.topic conceptual
apitype COM
helpviewer_keywords
Cancel method [RDS]
ms.assetid 560b5b3d-fba9-4275-8920-9c3e186134f7
author MightyPen
ms.author genemi

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)