Share via


SPSiteInventoryCollectionJobDefinition.Execute method (SPContentDatabase, SPJobState)

NOTE: This API is now obsolete.

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

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

Syntax

'Declaration
<ObsoleteAttribute("Site inventory collection is no longer necessary for the new analytics platform.")> _
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)
[ObsoleteAttribute("Site inventory collection is no longer necessary for the new analytics platform.")]
public override void Execute(
    SPContentDatabase contentDatabase,
    SPJobState jobState
)

Parameters

See also

Reference

SPSiteInventoryCollectionJobDefinition class

SPSiteInventoryCollectionJobDefinition members

Execute overload

Microsoft.SharePoint.Administration namespace