SPDiagnosticsCategory class

Contém as propriedades EventSeverity e TraceSeverity para uma categoria específica.

Inheritance hierarchy

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

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

Syntax

'Declaração
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPDiagnosticsCategory _
    Inherits SPDiagnosticsItem _
    Implements IDiagnosticsLevel
'Uso
Dim instance As SPDiagnosticsCategory
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPDiagnosticsCategory : SPDiagnosticsItem, 
    IDiagnosticsLevel

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Ver também

Referência

SPDiagnosticsCategory members

Microsoft.SharePoint.Administration namespace