bool CloseDim(DmId tDim)
tDim. Opened dictionary instance moniker.
The CloseDim operation closes a dictionary.
To execute the operation, in the tDim parameter specify the moniker of the dictionary instance to be closed. The operation results in the logical True if the dictionary was closed successfully.
Example of closing the dictionary instance. The request contains the dictionary moniker. The response contains whether closing is successful.
{
"CloseDim" :
{
"tDim" :
{
"id" : "S1!M!S!S1"
}
}
}
{
"CloseDimResult" : "1"
}
public static bool CloseDimension(DmId dim)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseDim()
{
tDim = dim
};
//Close dictionary instance
var b = somClient.CloseDim(tClose);
return b;
}
See also: