bool CloseDba(OdId tOb)
tOb. Moniker of opened business application instance.
The CloseDba operation closes business application instance.
To execute the operation, in the tOb field specify moniker of opened business application instance.
The operation results in the logical True if the object was closed successfully.
Below is the example of closing business application instance. The request contains moniker of opened business application instance. The response contains whether closing is successful.
{
"CloseDba" :
{
"tOb" :
{
"id" : "EMMHJHJLCLPAGOAECIKJAHOPCNJHGJDEKIODNPHMALBNJDDP!M!S!CBPKMIAKLCLPAGOAEHNHNGELNMKNCKMNEEIHLOAJKJEAJIHDJ"
}
}
}
{
"CloseDbaResult" : "1"
}
public static bool CloseDba(string moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseDba()
{
tOb = new OdId() { id = moniker }
};
// Close business application instance
var b = somClient.CloseDba(tClose);
return b;
}
See also: