bool CloseRub(RubId tRub)
tRub. Time series database open instance moniker.
The CloseRub operation closes a time series database.
To execute the operation, in the tRub parameter specify moniker of the time series database instance to be closed. The moniker can be obtained on executing the OpenRub operation. The operation results in the logical True if the object was closed successfully.
Below is the example of closing time series database instance. The request contains time series database moniker. The response contains whether closing was successful.
{
"CloseRub" :
{
"tRub" :
{
"id" : "S1!M!S!R1"
}
}
}
{
"CloseRubResult" : "1"
}
public static bool CloseRub(RubId moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseRub()
{
tRub = moniker
};
//Close time series database instance
var b = somClient.CloseRub(tClose);
return b;
}
See also: