Click or drag to resize
IVssBackupComponentsRecoverSet Method
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.3.0.0 (1.3.0.0)
Syntax
void RecoverSet(
	VssRecoveryOptions options
)

Parameters

options
Type: Alphaleonis.Win32.VssVssRecoveryOptions
VssRecoveryOptions flags that specify how the resynchronization is to be performed.
Exceptions
ExceptionCondition
ArgumentExceptionOne of the parameter values is not valid.
UnauthorizedAccessExceptionThe caller does not have sufficient backup privileges or is not an administrator.
OutOfMemoryExceptionOut of memory or other system resources.
NotImplementedExceptionThe provider for the volume does not support LUN resynchronization.
VssBadStateExceptionPossible reasons for this return value include:
  • There is no hardware provider that supports the operation.
  • The requester did not successfully add any volumes to the recovery set.
  • The method was called in WinPE or in Safe mode.
  • he caller did not call the InitializeForRestore(String) method before calling this method.
VssLegacyProviderExceptionThis version of the hardware provider does not support this operation.
VssProviderVetoExceptionAn unexpected provider error occurred. If this error code is returned, the error must be described in an entry in the application event log, giving the user information on how to resolve the problem.
VssUnselectedVolumeExceptionThe resynchronization destination contained a volume that was not explicitly included.
VssCannotRevertDiskIdExceptionThe MBR signature or GPT ID for one or more disks could not be set to the intended value. Check the Application event log for more information.
Remarks

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

See Also