IVssWriterComponents class (vswriter.h)

The IVssWriterComponents interface is a C++ (not COM) interface that contains methods used to obtain and modify component information (in the form of IVssComponent objects) associated with a given writer but stored in a requester's Backup Components Document.

The CVssWriter base class is responsible for passing an instance of the IVssWriterComponents interface to the following event handlers:

In addition, an instance of the IVssWriterComponentsExt interface, which implements a requester-side version of the IVssWriterComponents interface, is returned by IVssBackupComponents::GetWriterComponents.

IVssWriterComponents defines the following methods.

Method Description
GetComponent Returns the components belonging to a given writer instance.
GetComponentCount Returns the number of components belonging to a given writer instance.
GetWriterInfo Returns the instance and class identifier of the writer responsible for the components.

Methods

The IVssWriterComponents class has these methods.

 
IVssWriterComponents::GetComponent

The GetComponent method returns an IVssComponent interface to one of a given writer's components explicitly stored in the Backup Components Document.
IVssWriterComponents::GetComponentCount

The GetComponentCount method returns the number of a given writer's components explicitly stored in the Backup Components Document.
IVssWriterComponents::GetWriterInfo

The GetWriterInfo method gets the instance and class identifier of the writer responsible for the components.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header vswriter.h (include Vss.h, VsWriter.h)