Share via


SPVssDiscoveryHelper Class

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

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.Backup.SPVssDiscoveryHelper

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 SPVssDiscoveryHelper _
    Inherits SPPersistedObject

Dim instance As SPVssDiscoveryHelper
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPVssDiscoveryHelper : SPPersistedObject

Remarks

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

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.

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

SPVssDiscoveryHelper Members

Microsoft.SharePoint.Administration.Backup Namespace

Other Resources

Windows SharePoint Services 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