bool CloseCube(CubeId tCube)
tCube. Opened cube instance moniker.
The CloseCube operation closes an opened cube instance and indicates whether the instance is closed successfully.
To execute the operation, in the tCube parameter specify moniker of the cube instance to be closed. The operation results in the logical True if the object was closed successfully.
{
"CloseCube" :
{
"tCube" :
{
"id" : "S1!M!S!C1"
}
}
}
{
"CloseCubeResult" : "1"
}
public static bool CloseCube(CubeId cube)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseCube()
{
tCube = cube
};
//Close cube instance
var b = somClient.CloseCube(tClose);
return b;
}
See also: