Compartilhar via


SPAdministrationServiceJobDefinition constructor (String, SPService, SPServer, SPJobLockType)

Inicializa uma nova instância da classe SPAddministrationServiceJobDefinition para o serviço especificado e fornece parâmetros.

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

Syntax

'Declaração
Protected Sub New ( _
    name As String, _
    service As SPService, _
    server As SPServer, _
    lockType As SPJobLockType _
)
'Uso
Dim name As String
Dim service As SPService
Dim server As SPServer
Dim lockType As SPJobLockType

Dim instance As New SPAdministrationServiceJobDefinition(name, service, _
    server, lockType)
protected SPAdministrationServiceJobDefinition(
    string name,
    SPService service,
    SPServer server,
    SPJobLockType lockType
)

Parâmetros

  • name
    Type: System.String

    [System.String]. O nome do trabalho de timer.

Ver também

Referência

SPAdministrationServiceJobDefinition class

SPAdministrationServiceJobDefinition members

SPAdministrationServiceJobDefinition overload

Microsoft.SharePoint.Administration namespace