共用方式為


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