Share via


IDiagnosticsLevel.TraceSeverity property

NOTE: This API is now obsolete.

Gets or sets the trace severity of the trace log category.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPDiagnosticsCategory")> _
Property TraceSeverity As TraceSeverity
    Get
    Set
'Usage
Dim instance As IDiagnosticsLevel
Dim value As TraceSeverity

value = instance.TraceSeverity

instance.TraceSeverity = value
[ObsoleteAttribute("Use SPDiagnosticsCategory")]
TraceSeverity TraceSeverity { get; set; }

Property value

Type: Microsoft.SharePoint.Administration.TraceSeverity
Returns a TraceSeverity enumeration that represents the event severity of the category.

See also

Reference

IDiagnosticsLevel interface

IDiagnosticsLevel members

Microsoft.SharePoint.Administration namespace

Other resources

Trace Logs

Trace Log Categories

Writing to the Trace Log

Trace Log Example