Share via


SPDiagnosticsProviderJobDefinition constructor (String, SPService, SPJobLockType)

Creates a new job definition.

Namespace:  Microsoft.SharePoint.Diagnostics
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Sub New ( _
    name As String, _
    service As SPService, _
    lockType As SPJobLockType _
)
'Usage
Dim name As String
Dim service As SPService
Dim lockType As SPJobLockType

Dim instance As New SPDiagnosticsProviderJobDefinition(name, service, _
    lockType)
protected SPDiagnosticsProviderJobDefinition(
    string name,
    SPService service,
    SPJobLockType lockType
)

Parameters

  • name
    Type: System.String

    Used to uniquely identify different instances spawned for different operations.

See also

Reference

SPDiagnosticsProviderJobDefinition class

SPDiagnosticsProviderJobDefinition members

SPDiagnosticsProviderJobDefinition overload

Microsoft.SharePoint.Diagnostics namespace