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,
  VSS_PROTECTION_LEVEL_SNAPSHOT
} VSS_PROTECTION_LEVEL, *PVSS_PROTECTION_LEVEL;

Constants

Name Description
VSS_PROTECTION_LEVEL_ORIGINAL_VOLUME 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:


  • A write to the original volume occurs.

  • The integrity of the shadow copy cannot be maintained for some reason, such as a failure to write to the shadow copy storage area or a failure to allocate sufficient memory.

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:


  • A write to the original volume occurs.

  • The corresponding write to the shadow copy storage area cannot be completed for some reason, such as a failure to write to the shadow copy storage area or a failure to allocate sufficient memory.

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

   
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

VSS_PROTECTION_FAULT

VSS_VOLUME_PROTECTION_INFO