Share via


SPWorkItemJobDefinition constructor (String, SPWebApplication)

Initializes a new instance of the SPWorkItemJobDefinition class that specifies the name of the work item job definition and the associated Web application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Sub New ( _
    name As String, _
    webApplication As SPWebApplication _
)
'Usage
Dim name As String
Dim webApplication As SPWebApplication

Dim instance As New SPWorkItemJobDefinition(name, webApplication)
protected SPWorkItemJobDefinition(
    string name,
    SPWebApplication webApplication
)

Parameters

  • name
    Type: System.String

    The name of the work item job definition instance.

See also

Reference

SPWorkItemJobDefinition class

SPWorkItemJobDefinition members

SPWorkItemJobDefinition overload

Microsoft.SharePoint.Administration namespace