bool CloseRdsDatabase(RdsDbId tRdsDb)
tRdsDb. Moniker of opened MDM repository instance.
The CloseRdsDatabase operation closes MDM repository instance.
To execute the operation, in the tRdsDb field specify moniker of the MDM repository instance to be closed. The moniker can be obtained on executing the OpenRdsDatabase operation. The operation results in the logical True if the object was closed successfully.
Below is the example of closing MDM repository instance. The request contains moniker of opened MDM repository, the response contains whether MDM repository is closed successfully.
{
"CloseRdsDatabase" :
{
"tRdsDb" :
{
"id" : "S1!M!S!RD1"
}
}
}
{
"CloseRdsDatabaseResult" : "1"
}
public static bool CloseRDSDatabase(RdsDbId moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseRdsDatabase()
{
tRdsDb = moniker
};
//Close repository connection instance
var b = somClient.CloseRdsDatabase(tClose);
return b;
}
See also: