Click or drag to resize

SolidFireElementRollbackToSnapshot Method (Int64, Int64, Boolean, String, Hashtable)

RollbackToSnapshot enables you to make an existing snapshot of the "active" volume image. This method creates a new snapshot from an existing snapshot. The new snapshot becomes "active" and the existing snapshot is preserved until you delete it. The previously "active" snapshot is deleted unless you set the parameter saveCurrentState to true. Note: Creating a snapshot is allowed if cluster fullness is at stage 2 or 3. Snapshots are not created when cluster fullness is at stage 4 or 5.

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
public RollbackToSnapshotResult RollbackToSnapshot(
	long VolumeID,
	long SnapshotID,
	bool SaveCurrentState,
	string Name = null,
	Hashtable Attributes = null
)

Parameters

VolumeID
Type: SystemInt64
SnapshotID
Type: SystemInt64
SaveCurrentState
Type: SystemBoolean
Name (Optional)
Type: SystemString
Attributes (Optional)
Type: System.CollectionsHashtable

Return Value

Type: RollbackToSnapshotResult

Implements

ISolidFireElementRollbackToSnapshot(Int64, Int64, Boolean, String, Hashtable)
See Also