SPContentDatabaseJobDefinition.Execute Method (SPContentDatabase, SPJobState)
Execute the job.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public MustOverride Sub Execute ( _
contentDatabase As SPContentDatabase, _
jobState As SPJobState _
)
'Usage
Dim instance As SPContentDatabaseJobDefinition
Dim contentDatabase As SPContentDatabase
Dim jobState As SPJobState
instance.Execute(contentDatabase, jobState)
public abstract void Execute(
SPContentDatabase contentDatabase,
SPJobState jobState
)
Parameters
contentDatabase
Type: Microsoft.SharePoint.Administration.SPContentDatabaseContent database of the job to execute.
jobState
Type: Microsoft.SharePoint.Administration.SPJobStateState of the job.
See Also
Reference
SPContentDatabaseJobDefinition Class