VSS_PROTECTION_LEVEL enumeration (vsmgmt.h)
Defines the set of volume shadow copy protection levels.
typedef enum _VSS_PROTECTION_LEVEL {
VSS_PROTECTION_LEVEL_ORIGINAL_VOLUME = 0,
VSS_PROTECTION_LEVEL_SNAPSHOT
} VSS_PROTECTION_LEVEL, *PVSS_PROTECTION_LEVEL;
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:
|
When a volume is in shadow copy protection mode, requesters must set shadow copy storage area (diff area) associations using the IVssDifferentialSoftwareSnapshotMgmt::AddDiffArea method.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista with SP1 [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | vsmgmt.h |
IVssDifferentialSoftwareSnapshotMgmt3
IVssDifferentialSoftwareSnapshotMgmt3::GetVolumeProtectLevel
IVssDifferentialSoftwareSnapshotMgmt3::SetVolumeProtectLevel