다음을 통해 공유


SPJobDefinition constructor (String, SPWebApplication, 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)

Syntax

'Declaration
Protected 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 SPJobDefinition(name, webApplication, _
    server, lockType)
protected SPJobDefinition(
    string name,
    SPWebApplication webApplication,
    SPServer server,
    SPJobLockType lockType
)

Parameters

  • name
    Type: System.String

    Specifies the name of the job definition.

See also

Reference

SPJobDefinition class

SPJobDefinition members

SPJobDefinition overload

Microsoft.SharePoint.Administration namespace