ISecurityConnection.Driver

Syntax

Driver: String;

Description

The Driver property returns the DB driver identifier, with which this connection is established.

Comments

The property returns one of the identifiers list of which is given in theSupported DBMS > Total List of Identifiers section.

Fore Example

Sub UserProc;
Var
    Mb: IMetabase;
    Connection: ISecurityConnection;
Begin
    Mb := MetabaseClass.Active;
    Connection := Mb.LogonSession.PrimaryConnection;
    Debug.WriteLine(Connection.Driver);
End Sub UserProc;

After executing the example the development environment console will display the identifier of the BD driver, which is used on connecting to the repository.

Fore.NET Example

This example is an entry point for a .NET assembly.

Public Shared Sub Main(Params: StartParams);
Var
    Mb: IMetabase;
    Connection: ISecurityConnection;
Begin
    Mb := Params.Metabase;
    Connection := Mb.LogonSession.PrimaryConnection;
    System.Diagnostics.Debug.WriteLine(Connection.Driver);
End Sub;

After executing the example the development environment console will display the identifier of the BD driver, which is used on connecting to the repository.

See also:

ISecurityConnection