Click or drag to resize

VssComponentType Enumeration

The VssComponentType enumeration is used by both the requester and the writer to specify the type of component being used with a shadow copy backup operation.

Namespace:  Alphaleonis.Win32.Vss
Assembly:  AlphaVSS.Common (in AlphaVSS.Common.dll) Version: (
public enum VssComponentType
  Member nameValueDescription

Undefined component type.

This value indicates an application error.

Database1Database component.
FileGroup2File group component. This is any component other than a database.

A writer sets a component's type when it adds the component to its Writer Metadata Document using IVssCreateWriterMetadata.AddComponent

Writers and requesters can find the type information of components selected for inclusion in a Backup Components Document through calls to ComponentType to return a component type directly.

A requester can obtain the type of any component in a given writer's Writer Metadata Document by doing the following:

  1. Using Components to obtain a IVssWMComponent interface
  2. Examining the Type member of the IVssWMComponent object

See Also