IMetabaseLinkBase.DriverId

Syntax

DriverId: String;

Description

The DriverId property determines an identifier of the database driver using which the connection is established.

Comments

The property takes one of the following values depending on the DBMS type installed on the server:

The correspondence to the specified identifiers to relevant versions of DBMS is specified in theSupported DBMS > Total List of Identifiers subsection.

Example

Sub Main;
Var
    Man: IMetabaseManager;
    Defs: IMetabaseDefinitions;
    Def: IMetabaseDefinition;
Begin
    Man := MetabaseManagerFactory.Active;
    Defs := Man.Definitions;
    Def := Defs.Add;
    Def.Id := "TestDefinition";
    Def.Name := "TestDefinition";
    Def.Authentication := AuthenticationMode.Password;
    Def.DriverId := "ORCL8";
    Def.SecurityPackage := "STANDARDSECURITYPACKAGE";
    Def.LogonData.ParamValue("SERVER") := "Test";
    Def.LogonData.ParamValue("SCHEME") := "TestShema";
    Def.Scope := MetabaseDefinitionScope.LocalMachine;
    Def.Save;
End Sub Main;

A new description of the repository is created after executing this example. Repository data are stored on the Test server in the TestShema scheme. While connection password authentication, type DBMS installed on the server Oracle 9 server are used. This description is available for all user created in Windows.

See also:

IMetabaseLinkBase