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