Driver: String;
The Driver property returns the DB driver identifier, with which this connection is established.
The property returns one of the identifiers list of which is given in theSupported DBMS > Total List of Identifiers section.
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.
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: