次の方法で共有


SPWorkItemJobDefinition constructor (String, SPService, SPServer, SPJobLockType)

NOTE: This API is now obsolete.

Initializes a new instance of the SPWorkItemJobDefinition class that specifies the name of the work-item job definition, associated service, hosting server, and processing lock type.

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, _
    service As SPService, _
    server As SPServer, _
    lockType As SPJobLockType _
)
'Usage
Dim name As String
Dim service As SPService
Dim server As SPServer
Dim lockType As SPJobLockType

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

Parameters

See also

Reference

SPWorkItemJobDefinition class

SPWorkItemJobDefinition members

SPWorkItemJobDefinition overload

Microsoft.SharePoint.Administration namespace