Export (0) Print
Expand All

SPVssDiscoveryHelper class

Enables custom types of non-database content components to be protected by Volume Shadow Service.

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

[ObfuscationAttribute(Exclude = true, Feature = "renaming", StripAfterObfuscation = true)]
[GuidAttribute("90D39685-EA0E-47a9-8924-F95CA6B84A61")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPVssDiscoveryHelper : SPPersistedObject

Use this class as a base class to create persisting child objects of the SharePoint Foundation farm that will pass information about custom non-database content components to the SharePoint Foundation VSS Writer service (sometimes called the SPF 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.

Notes to inheritors

When you inherit from SPVssDiscoveryHelper, you must override the following members: Run.

An object of your derived class is persisted in the configuration database for the farm the first time you call the object's Update method.

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