SPFirstAvailableServiceJobDefinition constructor (String, SPService)
使用指定的參數初始化SPFirstAvailableServiceJobDefinition類別的新執行個體。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Protected Sub New ( _
name As String, _
service As SPService _
)
'用途
Dim name As String
Dim service As SPService
Dim instance As New SPFirstAvailableServiceJobDefinition(name, service)
protected SPFirstAvailableServiceJobDefinition(
string name,
SPService service
)
參數
name
Type: System.String指定工作定義的名稱。
service
Type: Microsoft.SharePoint.Administration.SPService會指定SPService物件執行個體。
請參閱
參照
SPFirstAvailableServiceJobDefinition class
SPFirstAvailableServiceJobDefinition members