bool CloseMbSecSnapshot(MbSecSnapshotId tMbSecSnapshot)
tMbSecSnapshot. Moniker of the object that is used to work with security policy backups.
The CloseMbSecSnapshot operation closes the object that is used to work with security policy backups.
To execute the operation, specify opened object moniker in the tMbSecSnapshot field. The moniker can be obtained on executing the OpenMbSecSnapshot operation. The operation results in the logical True if the object is successfully closed, and server resources are successfully released.
{ "CloseMbSecSnapshot" : { "tMbSecSnapshot" : { "id" : "S1!M!S!SecSna1" } }}
{ "CloseMbSecSnapshotResult" : "1"}
public static bool CloseSnapshot(string secSnapshot)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseMbSecSnapshot()
{
tMbSecSnapshot = new MbSecSnapshotId() { id = secSnapshot }
};
//Close object for working with security policy
var b = somClient.CloseMbSecSnapshot(tClose);
return b;
}
See also: