IPrimaryOracleSPLD.Scheme

Syntax

Scheme: String;

Description

The Scheme property determines name of a scheme on Oracle server.

Example

Sub Main;

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 Main;

A new description of the repository is created after executing this example. The schema to which the connection is established is placed to the Test_ORCL server. The Oracle 9 DBMS is used on the server. For this description a prefix used to create domain users in a repository security manager is assigned.

See also:

IPrimaryOracleSPLD