Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 2.38 KB

File metadata and controls

50 lines (40 loc) · 2.38 KB
title CancelUpdate 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
CancelUpdate method [RDS]
ms.assetid 76d8a6e9-bc6c-4ea0-8e7a-2bae5ed06650
author MightyPen
ms.author genemi

CancelUpdate Method (RDS)

Cancels any changes made to the current or new row of a Recordset object.

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

  
DataControl.CancelUpdate  

Parameters

DataControl
An object variable that represents an RDS.DataControl object.

Remarks

The Cursor Service for OLE DB keeps both a copy of the original values and a cache of changes. When you call CancelUpdate, the cache of changes is reset to empty, and any bound controls are refreshed with the original data.

Applies To

DataControl Object (RDS)

See Also

CancelUpdate Method Example (VBScript)
Address Book Command Buttons
Cancel Method (ADO)
Cancel Method (RDS)
CancelBatch Method (ADO)
CancelUpdate Method (ADO)
Refresh Method (RDS)
SubmitChanges Method (RDS)