VSS_SNAPSHOT_PROPERTY_ID enumeration (vss.h)

Specifies the property to be set for a shadow copy.

Syntax

typedef enum _VSS_SNAPSHOT_PROPERTY_ID {
  VSS_SPROPID_UNKNOWN = 0,
  VSS_SPROPID_SNAPSHOT_ID = 0x1,
  VSS_SPROPID_SNAPSHOT_SET_ID = 0x2,
  VSS_SPROPID_SNAPSHOTS_COUNT = 0x3,
  VSS_SPROPID_SNAPSHOT_DEVICE = 0x4,
  VSS_SPROPID_ORIGINAL_VOLUME = 0x5,
  VSS_SPROPID_ORIGINATING_MACHINE = 0x6,
  VSS_SPROPID_SERVICE_MACHINE = 0x7,
  VSS_SPROPID_EXPOSED_NAME = 0x8,
  VSS_SPROPID_EXPOSED_PATH = 0x9,
  VSS_SPROPID_PROVIDER_ID = 0xa,
  VSS_SPROPID_SNAPSHOT_ATTRIBUTES = 0xb,
  VSS_SPROPID_CREATION_TIMESTAMP = 0xc,
  VSS_SPROPID_STATUS = 0xd
} VSS_SNAPSHOT_PROPERTY_ID, *PVSS_SNAPSHOT_PROPERTY_ID;

Constants

 
VSS_SPROPID_UNKNOWN
Value: 0
The property is not known.

This value indicates an application error.
VSS_SPROPID_SNAPSHOT_ID
Value: 0x1
The shadow copy identifier. For more information, see the m_SnapshotId member of the VSS_SNAPSHOT_PROP structure.
VSS_SPROPID_SNAPSHOT_SET_ID
Value: 0x2
The shadow copy set identifier. For more information, see the m_SnapshotSetId member of the VSS_SNAPSHOT_PROP structure.
VSS_SPROPID_SNAPSHOTS_COUNT
Value: 0x3
The number of volumes included with the shadow copy in the shadow copy set when it was created. For more
information, see the m_lSnapshotsCount member of the VSS_SNAPSHOT_PROP structure.
VSS_SPROPID_SNAPSHOT_DEVICE
Value: 0x4
Null-terminated wide character string that specifies the name of the device object for the shadow copy of the
volume. For more information, see the m_pwszSnapshotDeviceObject member of the VSS_SNAPSHOT_PROP structure.
VSS_SPROPID_ORIGINAL_VOLUME
Value: 0x5
A null-terminated wide character string that specifies the name of the original volume. For more information, see the m_pwszOriginalVolumeName member of the VSS_SNAPSHOT_PROP structure.
VSS_SPROPID_ORIGINATING_MACHINE
Value: 0x6
A null-terminated wide character string that specifies the name of the machine that contains the original
volume. For more information, see the m_pwszOriginatingMachine member of the VSS_SNAPSHOT_PROP structure.
VSS_SPROPID_SERVICE_MACHINE
Value: 0x7
A null-terminated wide character string that specifies the name of the machine that is running the Volume Shadow Copy
Service that created the shadow copy. For more information, see the m_pwszServiceMachine member of the VSS_SNAPSHOT_PROP structure.
VSS_SPROPID_EXPOSED_NAME
Value: 0x8
A null-terminated wide character string that specifies the name of the shadow copy when it is exposed. For more information, see the m_pwszExposedName member of the VSS_SNAPSHOT_PROP structure.
VSS_SPROPID_EXPOSED_PATH
Value: 0x9
A null-terminated wide character string that specifies the portion of the volume that is made available
when the shadow copy is exposed as a file share. For more information, see the m_pwszExposedPath member of the VSS_SNAPSHOT_PROP structure.
VSS_SPROPID_PROVIDER_ID
Value: 0xa
The provider identifier. For more information, see the m_ProviderId member of the VSS_SNAPSHOT_PROP structure.
VSS_SPROPID_SNAPSHOT_ATTRIBUTES
Value: 0xb
A bitmask of _VSS_VOLUME_SNAPSHOT_ATTRIBUTES values that specify the properties of the shadow copy. For more information, see the m_lSnapshotAttributes member of the VSS_SNAPSHOT_PROP structure.
VSS_SPROPID_CREATION_TIMESTAMP
Value: 0xc
A time stamp that specifies when the shadow copy was created. For more information, see the m_tsCreationTimestamp member of the VSS_SNAPSHOT_PROP structure.
VSS_SPROPID_STATUS
Value: 0xd
The status of the current shadow copy creation operation. For more information, see the m_eStatus member of the VSS_SNAPSHOT_PROP structure.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header vss.h

See also

IVssSoftwareSnapshotProvider::SetSnapshotProperty