DatabaseLabel class
The DatabaseLabel class provides static methods for managing and interacting with database labels in a DataGate environment.
Namespace: ASNA.DataGate.Client.DatabaseLabel Assembly: ASNA.QSys.DataGate.Client.dll
Inheritance: Object
Remarks
This class includes methods for creating, changing, and removing databases, as well as retrieving and manipulating labels. Labels are used to identify and manage databases in the DataGate environment. They can be retrieved either individually, by name, or as a collection. The class also provides methods for labeling and unlabeling databases, and for creating new label objects.
Methods
| Signature | Description |
|---|---|
| ChangeDatabase(SourceProfile, ILabel) | Modifies database label |
| CreateDatabase(SourceProfile, Boolean, ILabel) | Creates a database |
| CreateDatabase(SourceProfile, Boolean, ILabel, Int32) | Creates a database |
| CreateLabelObject() | Creates an ILabel object with default values |
| GetLabel(SourceProfile, String) | Retrieves a specific label from a given server. |
| GetLabels(SourceProfile) | Creates a list of all labels in a given server |
| LabelDatabase(SourceProfile, ILabel, Boolean&) | Create a label for an existing database |
| RemoveDatabase(SourceProfile) | Completely erases a database and its label. |
| UnlabelDatabase(SourceProfile) | Remove a label on a database |