OLEDBConnectionString Property

Specifies a string used to connect to an OLE DB provider other than ODBC, Jet, SQL Server, and Oracle.

Syntax

object.OLEDBConnectionString[= String]

Parameters

The OLEDBConnectionString property syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

String

An OLE DB connection string; for example:

Data Source=QALAB15;Initial Catalog=Test

Remarks

When setting up the OLEDBConnectionString property on a vxData object, do not pass in a user and password in the string. Set up the User and Password properties instead, because VisiconX will append whatever is assigned to these properties when it tries to create the connection.

See the documentation for your OLE Provider for more information about using a connection string.

See Also