Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.96 KB

File metadata and controls

43 lines (33 loc) · 1.96 KB
title onReadyStateChange Event (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
onReadyStateChange event [ADO]
ms.assetid bf2ae3ac-bfe4-4709-b50a-ea7c282c3164
author MightyPen
ms.author genemi

onReadyStateChange Event (RDS)

The onReadyStateChange event is called whenever the value of the ReadyState property changes.

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

  
onReadyStateChange  

Parameters

None.

Remarks

The ReadyState property reflects the progress of an RDS.DataControl object as it asynchronously retrieves data into its Recordset object. Use the onReadyStateChange event to monitor changes in the ReadyState property whenever they occur. This is more efficient than periodically checking the property's value.

Applies To

DataControl Object (RDS)

See Also

ADO Events Model Example (VC++)
ADO Event Handler Summary