SPWorkItemJobDefinition constructor (String, SPWebApplication)
初始化指定的工作項目工作定義及相關聯的 Web 應用程式名稱的SPWorkItemJobDefinition類別的新執行個體。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Protected Sub New ( _
name As String, _
webApplication As SPWebApplication _
)
'用途
Dim name As String
Dim webApplication As SPWebApplication
Dim instance As New SPWorkItemJobDefinition(name, webApplication)
protected SPWorkItemJobDefinition(
string name,
SPWebApplication webApplication
)
參數
name
Type: System.String工作項目工作定義執行個體的名稱。
webApplication
Type: Microsoft.SharePoint.Administration.SPWebApplicationWeb 應用程式相關聯的工作項目工作定義。
請參閱
參照
SPWorkItemJobDefinition members