Freigeben über


SPWorkItemJobDefinition-Konstruktor (String, SPWebApplication, SPServer, SPJobLockType)

HINWEIS: Diese API ist veraltet.

Initialisiert eine neue Instanz der SPWorkItemJobDefinition -Klasse, die den Namen der Auftragsdefinition Arbeitsaufgabe, zugeordneten Webanwendung, Hostserver und Verarbeitung Sperrtyp angibt.

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

Syntax

'Declaration
<ObsoleteAttribute("Use the simplified SPWorkItemJobDefinition constructor",  _
    False)> _
Public Sub New ( _
    name As String, _
    webApplication As SPWebApplication, _
    server As SPServer, _
    lockType As SPJobLockType _
)
'Usage
Dim name As String
Dim webApplication As SPWebApplication
Dim server As SPServer
Dim lockType As SPJobLockType

Dim instance As New SPWorkItemJobDefinition(name, webApplication, _
    server, lockType)
[ObsoleteAttribute("Use the simplified SPWorkItemJobDefinition constructor", 
    false)]
public SPWorkItemJobDefinition(
    string name,
    SPWebApplication webApplication,
    SPServer server,
    SPJobLockType lockType
)

Parameter

Siehe auch

Referenz

SPWorkItemJobDefinition Klasse

SPWorkItemJobDefinition-Member

SPWorkItemJobDefinition-Überladung

Microsoft.SharePoint.Administration-Namespace