共用方式為


SPVssDiscoveryHelper.Run Method

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

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

Syntax

Public Overridable Function Run As Collection(Of SPVssComponentDefinition)

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 Windows SharePoint Services 3.0. just before a shadow copy is created by the Windows SharePoint Services 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

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