HP Anywhere API Reference
getDataSourceConfig Method
The name of the data source to retrieve.
Instance name as defined via Admin UI.

Can be null, if only one DS instance exists. If there is more than one DS instance, passing null results in an IllegalConfigurationException.

Returns a key-value map of data source for the current app. Data source configuration is used by the app to access its backend.
Syntax
DSConfiguration getDataSourceConfig( 
   java.lang.String dataSourceName, 
   java.lang.String instanceName 
)

Parameters

dataSourceName
The name of the data source to retrieve.
instanceName
Instance name as defined via Admin UI.

Can be null, if only one DS instance exists. If there is more than one DS instance, passing null results in an IllegalConfigurationException.

Return Value

a DSConfiguration
Since
HP Anywhere 10.00
See Also

Reference

DataSourceService Interface
DataSourceService Members