Share via


IDiagnosticsLevel.Hidden property

NOTE: This API is now obsolete.

Determines whether to hide the trace log category in the SharePoint Foundation Central Administration user interface.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPDiagnosticsCategory")> _
ReadOnly Property Hidden As Boolean
    Get
'Usage
Dim instance As IDiagnosticsLevel
Dim value As Boolean

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

Property value

Type: System.Boolean
A Boolean value. true to display the trace log category in the Central Administration user interface; false to hide the trace log category.

Remarks

Administrators can use the following command line to view all trace log categories, including those marked as hidden:

stsadmin.exe -o listlogginglevels -showhidden

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