The Unisys.AgileBusiness.RuntimeAPI namespace contains the IconfigureDatabase interface that enables you to perform database configuration operations such as creating a database, adding database server registration, attaching an existing database, detaching a database, deleting a database, and removing a database registration server.
The RuntimeFactory class includes methods to return the IConfigureDatabase objects.
Refer to the Definition of IConfigureDatabase Interface for a complete description of the interface.
Namespace: Unisys.AgileBusiness.RuntimeAPI
Assembly: Unisys.AgileBusiness.RuntimeAPI (in Unisys.AgileBusiness.RuntimeAPI.dll)
Syntax
The IConfigureDatabase object can be created using RuntimeFactory.GetConfigDB() method.
IConfigureDatabase databaseConfig = RuntimeFactory.GetConfigDB();
The IConfigureDatabase interface exposes the following methods.
Methods
Method | Description |
---|---|
CreateDatabase() | Called by an application to create and configure a database. |
DeleteDatabase() | Called by an application to delete the database. It involves the complete removal of the database from the server. |
AttachDatabase() | Called by an application to attach an existing database to the new Windows Runtime environment. |
DetachDatabase() | Called by an application to detach a database. It involves the removal of database from the runtime environment but does not delete the database or the data it contains. |
RegisterDatabaseServer() | Called by an application to add a database server registration for each of the runtime servers to which you want to add databases. |
UnRegisterDatabaseServer() | Called by an application to remove a database server registration. |
Required Security Privileges
By default, a local administrator can access the methods.