VSS_PROTECTION_LEVEL enumeration (vsmgmt.h)
Defines the set of volume shadow copy protection levels.
Syntax
typedef enum _VSS_PROTECTION_LEVEL {
VSS_PROTECTION_LEVEL_ORIGINAL_VOLUME = 0,
VSS_PROTECTION_LEVEL_SNAPSHOT
} VSS_PROTECTION_LEVEL, *PVSS_PROTECTION_LEVEL;
Constants
VSS_PROTECTION_LEVEL_ORIGINAL_VOLUME Value: 0 Specifies that I/O to the original volume must be maintained at the expense of shadow copies. This is the default protection level. Shadow copies might be deleted if both of the following conditions occur:
|
VSS_PROTECTION_LEVEL_SNAPSHOT Specifies that shadow copies must be maintained at the expense of I/O to the original volume. This protection level is called "shadow copy protection mode." All I/O to the original volume will fail if both of the following conditions occur:
|
Remarks
When a volume is in shadow copy protection mode, requesters must set shadow copy storage area (diff area) associations using the IVssDifferentialSoftwareSnapshotMgmt::AddDiffArea method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista with SP1 [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | vsmgmt.h |
See also
IVssDifferentialSoftwareSnapshotMgmt3
IVssDifferentialSoftwareSnapshotMgmt3::GetVolumeProtectLevel
IVssDifferentialSoftwareSnapshotMgmt3::SetVolumeProtectLevel