Επεξεργασία

Κοινή χρήση μέσω


Recordset, SourceRecordset Properties (RDS)

Indicates the Recordset object returned from a custom business object.

Applies To: DataControl Object (RDS)

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.SourceRecordset = Recordset  
Recordset = DataControl.Recordset   

Parameters

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

Recordset
An object variable that represents a Recordset object.

Remarks

You can set the SourceRecordset property to a Recordset returned from a custom business object.

These properties allow an application to handle the binding process by means of a custom process. They receive a rowset wrapped in a Recordset so that you can interact directly with the Recordset, performing actions such as setting properties or iterating through the Recordset.

You can set the SourceRecordset property or read the Recordset property at run time in scripting code.

SourceRecordset is a write-only property, in contrast to the Recordset property, which is a read-only property.

Applies To

DataControl Object (RDS)

See Also

Recordset and SourceRecordset Properties Example (VBScript)
CreateRecordset Method (RDS)
Query Method (RDS)