共用方式為


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

    工作項目工作定義執行個體的名稱。

請參閱

參照

SPWorkItemJobDefinition class

SPWorkItemJobDefinition members

SPWorkItemJobDefinition overload

Microsoft.SharePoint.Administration namespace