Connect Property (RDS)

Microsoft ActiveX Data Objects (ADO)

RDS 2.5 API Reference

Connect Property (RDS)

Indicates the database name from which the query and update operations are run.

You can set the Connect property at design time in the RDS.DataControl object's OBJECT tags, or at run time in scripting code (for instance, VBScript).

Syntax

Design time: <PARAM NAME="Connect" VALUE="ConnectionString">
Run time: DataControl.Connect = "ConnectionString"

Parameters

ConnectionString
A valid connection string. For more general information about connection strings, see the ConnectionString property or your provider documentation.
Note   Specifying MS Remote as the provider for the RDS.DataControl would create a four-tier scenario. Scenarios greater than three tiers have not been tested and should not be needed.
DataControl
An object variable that represents an RDS.DataControl object.

See Also

VBScript Example

Query Method (RDS) | Refresh Method (RDS) | SubmitChanges Method (RDS)

Applies To: DataControl Object (RDS)

© 1998-2003 Microsoft Corporation. All rights reserved.