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