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

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