Micro Focus Content Manager SDK 9.3
HP.HPTRIM.SDK.DatasetConfiguration Class Reference

The DatasetConfiguration object manages a local configuration containing a list of datasets available for a user to select. More...

Inheritance diagram for HP.HPTRIM.SDK.DatasetConfiguration:
HP.HPTRIM.SDK.TrimSDKObject

Public Member Functions

 DatasetConfiguration ()
 Constructs a DatasetConfiguration object. More...
 
DatabaseList 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 More...
 
void AddDatabase (Database dbToAdd)
 Adds a new TRIM database to the configuration. More...
 
void RemoveDatabase (Database dbToRemove)
 Removes a database from the configuration. More...
 
void SetDefaultDatabase (Database defaultDB)
 Sets the nominated database to be the default database in this configuration More...
 
void Save ()
 Saves any changes made to this configuration. More...
 
- Public Member Functions inherited from HP.HPTRIM.SDK.TrimSDKObject
 TrimSDKObject ()
 

Static Public Member Functions

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...
 

Properties

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...
 
- Properties inherited from HP.HPTRIM.SDK.TrimSDKObject
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...
 

Detailed Description

The DatasetConfiguration object manages a local configuration containing a list of datasets available for a user to select.

Constructor & Destructor Documentation

HP.HPTRIM.SDK.DatasetConfiguration.DatasetConfiguration ( )

Constructs a DatasetConfiguration object.

Member Function Documentation

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

Property Documentation

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.