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.StringThe name of the work item job definition instance.
webApplication
Type: Microsoft.SharePoint.Administration.SPWebApplicationThe Web application that is associated with the work item job definition.
See also
Reference
SPWorkItemJobDefinition members