SPDiagnosticsCategory Class
Contains the EventSeverity and TraceSeverity properties for a specific category.
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.Administration.SPDiagnosticsItem
Microsoft.SharePoint.Administration.SPDiagnosticsCategory
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPDiagnosticsCategory _
Inherits SPDiagnosticsItem _
Implements IDiagnosticsLevel
'Usage
Dim instance As SPDiagnosticsCategory
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, 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.