Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Available in Sandboxed Solutions: No
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