SPDiagnosticsCategory - Classe

Contient les propriétés EventSeverity et TraceSeverity pour une catégorie spécifique.

Hiérarchie d’héritage

System.Object
  Microsoft.SharePoint.Administration.SPDiagnosticsItem
    Microsoft.SharePoint.Administration.SPDiagnosticsCategory

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

Syntaxe

'Déclaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPDiagnosticsCategory _
    Inherits SPDiagnosticsItem _
    Implements IDiagnosticsLevel
'Utilisation
Dim instance As SPDiagnosticsCategory
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPDiagnosticsCategory : SPDiagnosticsItem, 
    IDiagnosticsLevel

Cohérence de thread

Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.

Voir aussi

Référence

SPDiagnosticsCategory - Membres

Microsoft.SharePoint.Administration - Espace de noms