SPDiagnosticsProvider constructor (String, String, String, SPService, SPJobLockType)
建構新的工作會執行診斷提供者巨集指令
Namespace: Microsoft.SharePoint.Diagnostics
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Protected Sub New ( _
title As String, _
name As String, _
schedule As String, _
service As SPService, _
lockType As SPJobLockType _
)
'用途
Dim title As String
Dim name As String
Dim schedule As String
Dim service As SPService
Dim lockType As SPJobLockType
Dim instance As New SPDiagnosticsProvider(title, name, _
schedule, service, lockType)
protected SPDiagnosticsProvider(
string title,
string name,
string schedule,
SPService service,
SPJobLockType lockType
)
參數
title
Type: System.String工作定義的標題。
name
Type: System.String工作定義的名稱。
schedule
Type: System.String將工作排程。
service
Type: Microsoft.SharePoint.Administration.SPServiceSPService 物件。
lockType
Type: Microsoft.SharePoint.Administration.SPJobLockTypeSPJobLockType 物件。