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, in the tMbSecSnapshot field specify opened object moniker. 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: