SPVssComponentDefinition class

Provides information about a custom, non-database, SharePoint Foundation content component to the SharePointVSS Writer service.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.Backup.SPVssComponentDefinition

Namespace:  Microsoft.SharePoint.Administration.Backup
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPVssComponentDefinition
'Usage
Dim instance As SPVssComponentDefinition
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPVssComponentDefinition

Remarks

The SharePoint Foundation VSS Writer service (sometimes called the SPF Writer service or the SPF-VSS Writer) is a Windows Service that is installed with SharePoint Foundation. It enables SharePoint Foundation administrators to ensure that their SharePoint Foundation non-database components are protected by Volume Shadow Service.

Use this class as a base class to create informational objects that SPVssDiscoveryHelper will pass to the SharePoint 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 SharePoint VSS Writer service that will include them along with the native SharePoint Foundation 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

SharePoint and the Volume Shadow Copy Service

How Volume Shadow Copy Service Works

Starting and Configuring the WSS Writer Service

Volume Shadow Copy Service Technical Reference