SnapshotManager.removeSnapshot

Removes the snapshot from the server store.

Further documentation.

Javascript example:

 var snapshotId = fields.SNAPSHOT_ID.value;
 try
 {
      system.snapshotManager.removeSnapshot(snapshotId);
 }
 catch(e)
 {
      log("Error removing snapshot: " + e);
 }
 

returns boolean

Parameters

java.lang.String  snapshotId,