Class VssVolumeProtectionInfo
Contains information about a volume's shadow copy protection level.
Inherited Members
Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common.dll
Syntax
[Serializable]
public class VssVolumeProtectionInfo
Constructors
| Improve this Doc View SourceVssVolumeProtectionInfo(VssProtectionLevel, Boolean, VssProtectionFault, UInt32, Boolean)
Initializes a new instance of the VssVolumeProtectionInfo class.
Declaration
public VssVolumeProtectionInfo(VssProtectionLevel protectionLevel, bool volumeIsOfflineForProtection, VssProtectionFault protectionFault, uint failureStatus, bool volumeHasUnusedDiffArea)
Parameters
Type | Name | Description |
---|---|---|
VssProtectionLevel | protectionLevel | The protection level. |
Boolean | volumeIsOfflineForProtection | if set to |
VssProtectionFault | protectionFault | The protection fault. |
UInt32 | failureStatus | The failure status. |
Boolean | volumeHasUnusedDiffArea | if set to |
Properties
| Improve this Doc View SourceFailureStatus
Gets the internal failure status code.
Declaration
public uint FailureStatus { get; }
Property Value
Type | Description |
---|---|
UInt32 | The internal failure status code. |
ProtectionFault
Gets a value that describes the shadow copy protection fault that caused the volume to go offline.
Declaration
public VssProtectionFault ProtectionFault { get; }
Property Value
Type | Description |
---|---|
VssProtectionFault | A value that describes the shadow copy protection fault that caused the volume to go offline. |
ProtectionLevel
Gets the target protection level for the volume.
Declaration
public VssProtectionLevel ProtectionLevel { get; }
Property Value
Type | Description |
---|---|
VssProtectionLevel | The target protection level for the volume. |
VolumeHasUnusedDiffArea
Gets a value indicating whether the volume has unused shadow copy storage area files or not.
Declaration
public bool VolumeHasUnusedDiffArea { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
VolumeIsOfflineForProtection
Gets a value indicating whether the volume is offline due to a protection fault.
Declaration
public bool VolumeIsOfflineForProtection { get; }
Property Value
Type | Description |
---|---|
Boolean |
|