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.StringUsed to uniquely identify different instances spawned for different operations.
service
Type: Microsoft.SharePoint.Administration.SPServiceAn SPService object.
lockType
Type: Microsoft.SharePoint.Administration.SPJobLockTypeAn SPJobLockType object.
See Also
Reference
SPDiagnosticsProviderJobDefinition Class
SPDiagnosticsProviderJobDefinition Members