IPrimaryOracleSPLD.Scheme

Syntax

Scheme: String;

Description

The Scheme property determines a schema name on Oracle server.

Example

Sub UserProc;
Var
    MbMan: IMetabaseManager;
    MbDefs: IMetabaseDefinitions;
    MbDef: IMetabaseDefinition;
    OracleSPLD: IPrimaryOracleSPLD;
Begin
    MbMan := MetabaseManagerFactory.Active;
    MbDefs := MbMan.Definitions;
    MbDef := MbDefs.Add;
    MbDef.Id := "Test_Oracle";
    MbDef.Name := "Test_Oracle";
    MbDef.DriverId := "ORCL8";
    MbDef.SecurityPackage := "STANDARDSECURITYPACKAGE";
    OracleSPLD := MbDef.LogonData As IPrimaryOracleSPLD;
    OracleSPLD.Server := "Test_ORCL";
    OracleSPLD.Scheme := "Test_SCHEMA_ORCL";
    OracleSPLD.OsAuthentPrefix := "TEMP_";
    MbDef.Save;
End Sub UserProc;

After executing the example a new description of the repository is created. The schema, to which the connection is established, is located on the Test_ORCL server. The Oracle 9 DBMS is used on the server. For this description a prefix is set that is used to create domain users in the repository security manager.

See also:

IPrimaryOracleSPLD