bool CloseMbUpdate(MbUpdateId tMbUpdate)
tMbUpdate. Moniker for working with repository update.
The CloseMbUpdate operation closes the context to work with repository update.
To execute the operation, in the tMbUpdate field specify moniker for working with update.
The operation results in the logical True if the object was closed successfully, and server resources were released successfully.
Below is the example of context closing to work with repository objects update. Moniker for working with update is sent in the query. The response contains whether the context is successfully closed.
{
"CloseMbUpdate" :
{
"tMbUpdate" :
{
"id" : "S1!M!S!MbUpd1"
}
}
}
{
"CloseMbUpdateResult" : "1"
}
public static bool CloseUpdate(string moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseMbUpdate()
{
tMbUpdate = new MbUpdateId() { id = moniker }
};
//Close update
var result = somClient.CloseMbUpdate(tClose);
return result;
}
See also: