Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Iterates through all sites, and calls ProcessSite(SPSite, SPJobState) for each site.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Sub Execute ( _
contentDatabase As SPContentDatabase, _
jobState As SPJobState _
)
'Usage
Dim instance As SPAllSitesJobDefinition
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.SPContentDatabaseThe content database from which to get the sites.
jobState
Type: Microsoft.SharePoint.Administration.SPJobStateThe job's current state.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The contentDatabase or jobState parameter is a null reference (Nothing in Visual Basic). |