bool CloseTable(OdId tOb)
tOb. Moniker of opened instance of table/external table/view.
The CloseTable operation closes opened instance of table/external table/view.
To execute the operation, in the tOb field specify moniker of instance of table/external table/view to be closed. The operation results in the logical True if the object was closed successfully.
Example of closing table instance. The request contains moniker of opened table instance. The response returns whether closing was successful.
{
"CloseTable" :
{
"tOb" :
{
"id" : "S1!M!S!TABLE5"
}
}
}
{
"CloseTableResult" : "1"
}
public static bool CloseTable(string moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseTable()
{
tOb = new OdId() { id = moniker }
};
//Close table instance
var b = somClient.CloseTable(tClose);
return b;
}
See also: