共用方式為


SPSiteInventoryCollectionJobDefinition.Execute Method (SPContentDatabase, SPJobState)

Iterate through all sites, calling ProcessSite()for each site.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Sub Execute ( _
    contentDatabase As SPContentDatabase, _
    jobState As SPJobState _
)
'Usage
Dim instance As SPSiteInventoryCollectionJobDefinition
Dim contentDatabase As SPContentDatabase
Dim jobState As SPJobState

instance.Execute(contentDatabase, jobState)
public override void Execute(
    SPContentDatabase contentDatabase,
    SPJobState jobState
)

Parameters

See Also

Reference

SPSiteInventoryCollectionJobDefinition Class

SPSiteInventoryCollectionJobDefinition Members

Execute Overload

Microsoft.SharePoint.Administration Namespace