Partager via


SPDiagnosticsProvider - Constructeur (String, String, String, SPService, SPJobLockType)

Construit un nouveau travail qui va exécuter l'action de fournisseur de diagnostics

Espace de noms :  Microsoft.SharePoint.Diagnostics
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Protected Sub New ( _
    title As String, _
    name As String, _
    schedule As String, _
    service As SPService, _
    lockType As SPJobLockType _
)
'Utilisation
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
)

Paramètres

  • title
    Type : System.String

    Le titre de la définition de travail.

  • name
    Type : System.String

    Le nom de la définition de travail.

Voir aussi

Référence

SPDiagnosticsProvider classe

SPDiagnosticsProvider - Membres

SPDiagnosticsProvider - Surcharge

Microsoft.SharePoint.Diagnostics - Espace de noms