Click or drag to resize
IVssDifferentialSoftwareSnapshotManagementClearVolumeProtectFault Method
Clears the protection fault state for the specified volume.

Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
void ClearVolumeProtectFault(
	string volumeName
)

Parameters

volumeName
Type: SystemString

The name of the volume. This parameter is required and cannot be .

The name of the volume must be in one of the following formats:

  • The path of a volume mount point with a backslash (\)
  • A drive letter with backslash (\), for example, D:\
  • A unique volume name of the form \\?\Volume{GUID}\ (where GUID is the unique global identifier of the volume) with a backslash (\)

Exceptions
ExceptionCondition
UnauthorizedAccessExceptionCaller does not have sufficient backup privileges or is not an administrator.
OutOfMemoryExceptionThe caller is out of memory or other system resources.
ArgumentExceptionOne of the parameter values is not valid.
ArgumentNullExceptionOne of the arguments was
NotImplementedExceptionThe provider for the volume does not support shadow copy protection.
VssProviderVetoExceptionExpected provider error. The provider logged the error in the event log.
VssObjectNotFoundExceptionThe specified volume was not found.
Remarks

The ClearVolumeProtectFault(String) method dismounts the volume and resets the volume's protection fault member to to allow normal I/O to continue on the volume. If the volume is not in a faulted state, this method does nothing.

Note Note

Windows XP, Windows Server 2003 and Windows Vista: This method requires Windows Server 2008.

See Also