Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Application Methods >
GetDataSource
Returns the name of the data source, as defined in the CFG file, that is being used for the session.
Syntax
dataSrc = TheApplication().InvokeMethod("GetDataSource")
Returns
A string containing the value of the data source currently used by the application.
Used With
COM Data Control, Java Data Bean, Mobile/Dedicated Web Client Automation Server, Server Script
Example
The following eScript example detects the data source and displays its name in a dialog box.
var dataSrc = TheApplication().InvokeMethod("GetDataSource");
TheApplication().RaiseErrorText(dataSrc);
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference Published: 18 June 2003 |