Click or drag to resize

IVssBackupComponentsBeginBreakSnapshotSet Method

Begins an asynchronous operation to break a shadow copy set according to requester-specified options.

Namespace:  Alphaleonis.Win32.Vss
Assembly:  AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
IVssAsyncResult BeginBreakSnapshotSet(
	Guid snapshotSetId,
	VssHardwareOptions breakFlags,
	AsyncCallback userCallback,
	Object state
)

Parameters

snapshotSetId
Type: SystemGuid
A shadow copy set identifier.
breakFlags
Type: Alphaleonis.Win32.VssVssHardwareOptions
A bitmask of VssHardwareOptions flags that specify how the shadow copy set is broken.
userCallback
Type: SystemAsyncCallback
An optional asynchronous callback, to be called when the read is complete.
state
Type: SystemObject
A user-provided object that distinguishes this particular asynchronous read request from other requests.

Return Value

Type: IVssAsyncResult
An IVssAsyncResult instance that represents this asynchronous operation.
Remarks

This method is similar to BreakSnapshotSet(Guid), except that is has an extra parameter to specify how the shadow copy set is broken.

Like BreakSnapshotSet(Guid), this method can be used only for shadow copies that were created by a hardware shadow copy provider.

After this method returns, the shadow copy volume is still a volume, but it is no longer a shadow copy. For more information, see Breaking Shadow Copies.

See Also