Click or drag to resize

IVssBackupComponentsBeginRecoverSet Method

Begins an asynchronous operation that initiates a LUN resynchronization operation. This method is supported only on Windows server operating systems.

Namespace:  Alphaleonis.Win32.Vss
Assembly:  AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
IVssAsyncResult BeginRecoverSet(
	VssRecoveryOptions options,
	AsyncCallback userCallback,
	Object state
)

Parameters

options
Type: Alphaleonis.Win32.VssVssRecoveryOptions
VssRecoveryOptions flags that specify how the resynchronization is to be performed.
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 EndRecoverSet(IAsyncResult) method to release operating system resources used for this asynchronous operation. EndRecoverSet(IAsyncResult) must be called once for every call to BeginRecoverSet(VssRecoveryOptions, AsyncCallback, Object). You can do this either by using the same code that called BeginRecoverSet or in a callback passed to BeginRecoverSet.

Note Note
Windows XP, Windows 2003, Windows Vista, Windows 2008, Windows 7: This method requires Windows Server 2008 R2.

See Also