Share via


SPDiagnosticsPerformanceCounterProvider constructor (String, String, String, SPService, SPJobLockType)

Initializes a new instance of the SPDiagnosticsPerformanceCounterProvider class based on constructor parameters.

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 SPDiagnosticsPerformanceCounterProvider(title, name, _
    schedule, service, lockType)
protected SPDiagnosticsPerformanceCounterProvider(
    string title,
    string name,
    string schedule,
    SPService service,
    SPJobLockType lockType
)

Parameters

See also

Reference

SPDiagnosticsPerformanceCounterProvider class

SPDiagnosticsPerformanceCounterProvider members

SPDiagnosticsPerformanceCounterProvider overload

Microsoft.SharePoint.Diagnostics namespace