Share via


SPVssDiscoveryHelper.Run method

Returns a collection of objects that provide information about custom content components that is needed by the SharePoint VSS Writer service.

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

Syntax

'Declaration
Public Overridable Function Run As Collection(Of SPVssComponentDefinition)
'Usage
Dim instance As SPVssDiscoveryHelper
Dim returnValue As Collection(Of SPVssComponentDefinition)

returnValue = instance.Run()
public virtual Collection<SPVssComponentDefinition> Run()

Return value

Type: System.Collections.ObjectModel.Collection<SPVssComponentDefinition>
A Collection<SPVssComponentDefinition>, each of whose members provides information about a different non-database custom content component.

Remarks

The default implementation returns a null reference (Nothing in Visual Basic).

This method is called internally by SharePoint Foundation just before a shadow copy is created by the SharePoint VSS Writer service. Do not call it directly from your code.

See also

Reference

SPVssDiscoveryHelper class

SPVssDiscoveryHelper members

Microsoft.SharePoint.Administration.Backup namespace

Other resources

SharePoint Foundation 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