VSS_OBJECT_TYPE enumeration (vss.h)

The VSS_OBJECT_TYPE enumeration is used by requesters to identify an object as a shadow copy set, shadow copy, or provider.

Syntax

typedef enum _VSS_OBJECT_TYPE {
  VSS_OBJECT_UNKNOWN = 0,
  VSS_OBJECT_NONE,
  VSS_OBJECT_SNAPSHOT_SET,
  VSS_OBJECT_SNAPSHOT,
  VSS_OBJECT_PROVIDER,
  VSS_OBJECT_TYPE_COUNT
} VSS_OBJECT_TYPE, *PVSS_OBJECT_TYPE;

Constants

 
VSS_OBJECT_UNKNOWN
Value: 0
The object type is not known.


This indicates an application error.
VSS_OBJECT_NONE
The interpretation of this value depends on whether it is used as an input to a VSS method or returned as
an output from a VSS method.


When used as an input to a VSS method, it indicates that the method is not restricted to any particular
object type, but should act on all appropriate objects. In this sense,
VSS_OBJECT_NONE can be thought of as a wildcard input.

When returned as an output, the object type is not known and means that there has been an application
error.
VSS_OBJECT_SNAPSHOT_SET
Shadow copy set.
VSS_OBJECT_SNAPSHOT
Shadow copy.
VSS_OBJECT_PROVIDER
Shadow copy provider.
VSS_OBJECT_TYPE_COUNT
Reserved value.

Remarks

VSS_OBJECT_TYPE is used when calling IVssBackupComponents::Query to specify the types of objects about which to obtain information. An input of VSS_OBJECT_NONE will return information about all objects.

In addition, VSS_OBJECT_TYPE is used as an input to IVssBackupComponents::DeleteSnapshots. However, DeleteSnapshots accepts only VSS_OBJECT_TYPE values of VSS_OBJECT_SNAPSHOT_SET or VSS_OBJECT_SNAPSHOT.

The Type member of VSS_OBJECT_PROP is a member of the VSS_OBJECT_TYPE enumeration.

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

IVssBackupComponents::DeleteSnapshots

IVssBackupComponents::Query

IVssEnumObject

VSS_COMPONENT_TYPE

VSS_OBJECT_PROP