SPContentDatabaseJobDefinition.Execute 方法 (SPContentDatabase, SPJobState)
执行作业。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public MustOverride Sub Execute ( _
contentDatabase As SPContentDatabase, _
jobState As SPJobState _
)
用法
Dim instance As SPContentDatabaseJobDefinition
Dim contentDatabase As SPContentDatabase
Dim jobState As SPJobState
instance.Execute(contentDatabase, jobState)
public abstract void Execute(
SPContentDatabase contentDatabase,
SPJobState jobState
)
参数
contentDatabase
类型:Microsoft.SharePoint.Administration.SPContentDatabase要执行的作业的内容数据库。
jobState
类型:Microsoft.SharePoint.Administration.SPJobState作业的状态。
另请参阅
引用
SPContentDatabaseJobDefinition 类