ConnectionString Property

A connection string consists of a series of arguments that are used to establish a connection to a data source.

object.ConnectionString as String

Use

This parameter consists of semi-colon separated name/value pairs that specify the database or server and all relevant connection properties. The contents of the connection string can vary, depending upon the data source or server that is used for the connection.

Each name/pair value is formatted as 'name=value'. For example:

'Provider=Microsoft.Jet.OLEDB.4.0;DataSource=@test\crm.mdb'.

Clicking the prompt button will open the Data Link Properties window. This tool will automatically create the Connection String string for you based on the values entered. See below for a more detailed description of Data Link Property settings.

NOTE!

The settings available in the Data Link Properties window will vary depending on the value you specify for the Server property and also for the OLE DB provider selected if the data source is OLE.

See Also

DBConnect action | RPCConnect action | DBConnect Method | Connect Method | Data Access

Applies To

RPC Connection object | DB Connection object | FTP Connection object | Data control | DataGrid control


© 2004-2021 looksoftware. All rights reserved.