Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Application Methods > GetDataSource MethodReturns the name of the data source, as defined in the CFG file, that is being used for the session. SyntaxdataSrc = Application.InvokeMethod("GetDataSource") ReturnsA string containing the value of the data source currently used by the application. Used WithCOM Data Control, Java Data Bean, Mobile Web Client Automation Server, Server Script ExampleThe following eScript example detects the data source and displays its name in a dialog box. var dataSrc = TheApplication().InvokeMethod("GetDataSource"); The following is the same example in Siebel VB. Dim dataSrc As String |
Siebel Object Interfaces Reference |