Export (0) Print
Expand All

SPVssComponentDefinition class

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

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

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

[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPVssComponentDefinition

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft