SPDiagnosticsProvider Constructor (String, String, String, SPService, SPJobLockType)
Constructs a new job that will execute diagnostics provider action
Namespace: Microsoft.SharePoint.Diagnostics
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Sub New ( _
title As String, _
name As String, _
schedule As String, _
service As SPService, _
lockType As SPJobLockType _
)
'Usage
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
)
Parameters
title
Type: System.StringThe title of the job definition.
name
Type: System.StringThe name of the job definition.
schedule
Type: System.StringThe job schedule.
service
Type: Microsoft.SharePoint.Administration.SPServiceAn SPService object.
lockType
Type: Microsoft.SharePoint.Administration.SPJobLockTypeAn SPJobLockType object.