Show contents 

Db > Db Assembly Interfaces > IOdbcDataset > IOdbcDataset.Password

IOdbcDataset.Password

Syntax

Password: String;

Description

The Password property determines the user password used for connecting to ODBC data source.

Example

Sub UserProc;
Var
    Mb: IMetabase;
    ODBC: IOdbcDataset;
    s: String;
Begin
    Mb:=MetabaseClass.Active;
    ODBC:=MB.ItemById("ODBC_SOURCE").Bind As IOdbcDataset;
    s:=ODBC.Password;
End Sub UserProc;

After executing the example, the "s" variable contains the password of ODBC data source user. The identifier of ODBC data source is ODBC_SOURCE.

See also:

IOdbcDataset