Share via


IDiagnosticsLevel.EventSeverity property

NOTE: This API is now obsolete.

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

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

Syntax

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

value = instance.EventSeverity

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

Property value

Type: Microsoft.SharePoint.Administration.EventSeverity
Returns an EventSeverity 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