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 of the specified identifiers to relevant versions of DBMS is specified in the Summary List of Identifiers section.

Example

Executing the example requires the Test server, the TestShema schema.

Add a link to the Metabase system assembly.

Sub UserProc;
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 UserProc;

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