UseServiceLogonData: Boolean;
The UseServiceLogonData property determines whether connection settings for Foresight Analytics Platform Web service will be overridden.
Available values:
True. The IDatabase.LogonData property can be cast to the IPrimaryServiceSPLD type and one can specify connection parameters via the web service of Foresight Analytics Platform.
False. Default value. The current repository settings or predetermined settings specified in the IDatabase.LogonData property are used if the IDatabase.UseMetabaseLogonData property is set to True.
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: