IOdbcDataset.ProviderString

Syntax

ProviderString: String;

Description

The ProviderString property determines a connection string of ODBC source.

Example

Sub Main;

Var

Mb: IMetabase;

ODBC: IOdbcDataset;

s: String;

Begin

Mb:=MetabaseClass.Active;

ODBC:=MB.ItemById("ODBC_SOURCE").Bind As IOdbcDataset;

s:=ODBC.ProviderString;

End Sub Main;

After executing the example, the "s" variable contains the connection string of ODBC data source with the ODBC_SOURCE identifier.

See also:

IOdbcDataset