IVssEnumObject interface

The IVssEnumObject interface contains methods to iterate over and perform other operations on a list of enumerated objects.

The calling application is responsible for calling IUnknown::Release to release the resources held by the returned IVssEnumObject when it is no longer needed. It may also need to call IUnknown::Release to release temporary objects (such as strings) returned during enumeration.

The IVssBackupComponents::Query method returns an IVssEnumObject object.


The IVssEnumObject interface inherits from the IUnknown interface. IVssEnumObject also has these types of members:


The IVssEnumObject interface has these methods.

Method Description
IVssEnumObject::Clone Creates a copy of the specified list of enumerated elements by creating a copy of the IVssEnumObject enumerator object.
IVssEnumObject::Next Returns the specified number of objects from the specified list of enumerated objects.
IVssEnumObject::Reset Resets the enumerator so that IVssEnumObject:Next starts at the first enumerated object.
IVssEnumObject::Skip Skips the specified number of objects.


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