Partilhar 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)
Available in Sandboxed Solutions: No

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