Share via


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

See also

Reference

SPDiagnosticsProvider class

SPDiagnosticsProvider members

SPDiagnosticsProvider overload

Microsoft.SharePoint.Diagnostics namespace