共用方式為


SPJobDefinition constructor (String, SPWebApplication, SPServer, SPJobLockType)

初始化SPJobDefinition類別的新執行個體,並提供參數指定主要物件。

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

Syntax

'宣告
Protected Sub New ( _
    name As String, _
    webApplication As SPWebApplication, _
    server As SPServer, _
    lockType As SPJobLockType _
)
'用途
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
)

參數

請參閱

參照

SPJobDefinition class

SPJobDefinition members

SPJobDefinition overload

Microsoft.SharePoint.Administration namespace