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

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