Click or drag to resize
IVssBackupComponentsBeginDoSnapshotSet Method
Commits all shadow copies in this set simultaneously as an asynchronous operation.

Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
IVssAsyncResult BeginDoSnapshotSet(
	AsyncCallback userCallback,
	Object state
)

Parameters

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
Pass the IVssAsyncResult value returned to the EndDoSnapshotSet(IAsyncResult) method to release operating system resources used for this asynchronous operation. EndDoSnapshotSet(IAsyncResult) must be called once for every call to BeginDoSnapshotSet(AsyncCallback, Object). You can do this either by using the same code that called BeginDoSnapshotSet or in a callback passed to BeginDoSnapshotSet.
See Also