SPVssComponentDefinition Class
Provides information about a custom, non-database, Windows SharePoint Services 3.0 content component to the Windows SharePoint Services VSS Writer service.
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.Administration.Backup.SPVssComponentDefinition
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPVssComponentDefinition
Dim instance As SPVssComponentDefinition
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPVssComponentDefinition
Remarks
The Windows SharePoint Services VSS Writer service (sometimes called the WSS Writer service or the WSS-VSS Writer) is a Windows Service that is installed with Windows SharePoint Services 3.0. It enables Windows SharePoint Services 3.0 administrators to ensure that their Windows SharePoint Services 3.0 non-datatabase components are protected by Volume Shadow Service.
Use this class as a base class to create informational objects that SPVssDiscoveryHelper will pass to the Windows SharePoint Services VSS Writer service.
You will also need to create a VSS writer for your custom non-database component.
Custom database components only need to be registered in the configuration database for the farm. There is a built-in VSS writer in the Windows SharePoint Services VSS Writer service that will include them along with the native [wssnoversshort] databases in the shadow copies. Accordingly, you do not need to create a VSS writer for them, nor do you need to derive classes from SPVssDiscoveryHelper or SPVssComponentDefinition for database components.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
SPVssComponentDefinition Members
Microsoft.SharePoint.Administration.Backup Namespace
Other Resources
Windows SharePoint Services and the Volume Shadow Copy Service
How Volume Shadow Copy Service Works