SPJobDefinition constructor (String, SPService, SPServer, SPJobLockType)

Initializes a new instance of the SPJobDefinition class and provides parameters for specifying key objects.

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


Protected Sub New ( _
    name As String, _
    service As SPService, _
    server As SPServer, _
    lockType As SPJobLockType _
Dim name As String
Dim service As SPService
Dim server As SPServer
Dim lockType As SPJobLockType

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


  • name
    Type: System.String

    Specifies the name of the job definition.

See also


SPJobDefinition class

SPJobDefinition members

SPJobDefinition overload

Microsoft.SharePoint.Administration namespace