verifDeleteSnapshot
verifDeleteSnapshot(
g_sessionId
t_snapshotName
)
=> t / nil
Description
Deletes the snapshot from the specified Verifier session.
Arguments
|
Integer, string number, or window specifying the Verifier session ID. For example, |
|
Value Returned
|
Snapshot is not deleted because it does not exist or the command is not successful. |
Examples
The following example starts a Verifier session with a cellview 'test/snapshots/verifier' and deletes the snapshot.
uid = verifOpenCellView("test" "snapshots" "verifier")
=> 0
Deletes the snapshot with specified name.
verifGetSnapshots(uid)
("active" "snap_2019_07_08_11_25_26" "mySnap")
verifDeleteSnapshot(uid "snap_2019_07_08_11_25_26")
=> t
verifGetSnapshots(uid)
("active" "mySnap")
Returns nil if a call is made to delete the active snapshot. The active snapshot cannot be deleted.
verifDeleteSnapshot(uid "active")
=> nil
Related Topics
verifDeleteSnapshotConfiguration
Return to top