IDatabase.UseServiceLogonData

Syntax

UseServiceLogonData: Boolean;

Description

The UseServiceLogonData property determines whether connection settings for Foresight Analytics Platform Web service will be overridden.

Comments

Available values:

Example

Executing the example requires that the repository contains a database with the DBWeb identifier.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    DB: IDatabase;
    LogonData: IPrimaryServiceSPLD;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById("DBWeb").Edit;
    DB := MObj As IDatabase;
    DB.UseMetabaseLogonData := False;
    DB.Authentication := AuthenticationMode.Password;
    DB.DriverId := "WSF";
    LogonData := DB.LogonData As IPrimaryServiceSPLD;
    LogonData.Endpoint := "http://test-srv:9090/axis2/services/PP.SOM.Som";
    LogonData.Metabase := "Warehouse";
    MObj.Save;
End Sub UserProc;

On executing the example connection parameters for specified database will be overridden. Connection is performed via specified Foresight Analytics Platform Web service.

See also:

IDatabase