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
contentDatabase
Type: Microsoft.SharePoint.Administration.SPContentDatabaseA [Microsoft.SharePoint.Administration.SPContentDatabase] object representing a content database in the SharePoint Services deployment.
jobState
Type: Microsoft.SharePoint.Administration.SPJobStateA [Microsoft.SharePoint.Administration.SPJobState] object that provides access to properties that will be saved when a job is paused.
See also
Reference
SPSiteInventoryCollectionJobDefinition class