SPWorkItemJobDefinition constructor (String, SPWebApplication, SPServer, SPJobLockType)

NOTE: This API is now obsolete.

Inicializa uma nova instância da classe SPWorkItemJobDefinition que especifica o nome do definição de trabalho de item de trabalho, aplicativo da Web associado, servidor de hospedagem e tipo de bloqueio de processamento.

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

Syntax

'Declaração
<ObsoleteAttribute("Use the simplified SPWorkItemJobDefinition constructor",  _
    False)> _
Public Sub New ( _
    name As String, _
    webApplication As SPWebApplication, _
    server As SPServer, _
    lockType As SPJobLockType _
)
'Uso
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
)

Parâmetros

Ver também

Referência

SPWorkItemJobDefinition class

SPWorkItemJobDefinition members

SPWorkItemJobDefinition overload

Microsoft.SharePoint.Administration namespace