The DatasetConfiguration object manages a local configuration containing a list of datasets available for a user to select.
More...
|
static DatabaseList | GetDatabases (string onWorkgroup, int onWorkgroupPort) |
| Gets an array of Database objects that are currently supported by the nominated workgroup server. Note that Port Number 1137 is commonly reserved for a TRIM workgroup server More...
|
|
|
bool | OpenDefaultDatabase [get, set] |
| Gets or sets a boolean parameter indicating if the user should automatically open the default database whenever running a client application. More...
|
|
string | ErrorMessage [get] |
| All TRIM SDK objects have an ErrorMessage property which can be used to examine any error that may have occurred in the most recent method call. More...
|
|
TrimException | Error [get] |
| All TRIM SDK objects have an Error property which can be used to examine any error that may have occurred in the most recent method call. More...
|
|
The DatasetConfiguration object manages a local configuration containing a list of datasets available for a user to select.
HP.HPTRIM.SDK.DatasetConfiguration.DatasetConfiguration |
( |
| ) |
|
void HP.HPTRIM.SDK.DatasetConfiguration.AddDatabase |
( |
Database |
dbToAdd | ) |
|
Adds a new TRIM database to the configuration.
DatabaseList HP.HPTRIM.SDK.DatasetConfiguration.GetDatabases |
( |
| ) |
|
Destructor for the DatasetConfiguration. Cleans up any memory allocations associated with this configuration. Gets an array of Database objects that have been registered for use by the currently logged-in user
static DatabaseList HP.HPTRIM.SDK.DatasetConfiguration.GetDatabases |
( |
string |
onWorkgroup, |
|
|
int |
onWorkgroupPort |
|
) |
| |
|
static |
Gets an array of Database objects that are currently supported by the nominated workgroup server. Note that Port Number 1137 is commonly reserved for a TRIM workgroup server
void HP.HPTRIM.SDK.DatasetConfiguration.RemoveDatabase |
( |
Database |
dbToRemove | ) |
|
Removes a database from the configuration.
void HP.HPTRIM.SDK.DatasetConfiguration.Save |
( |
| ) |
|
Saves any changes made to this configuration.
void HP.HPTRIM.SDK.DatasetConfiguration.SetDefaultDatabase |
( |
Database |
defaultDB | ) |
|
Sets the nominated database to be the default database in this configuration
bool HP.HPTRIM.SDK.DatasetConfiguration.OpenDefaultDatabase |
|
getset |
Gets or sets a boolean parameter indicating if the user should automatically open the default database whenever running a client application.