IDiagnosticsManager.GetItem method

NOTE: This API is now obsolete.

Gets the specified trace log category.

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

[ObsoleteAttribute("Use SPDiagnosticsServiceBase")]
IDiagnosticsLevel GetItem(
	string name
)

Parameters

name
Type: System.String

The name of the trace log category to return.

Return value

Type: Microsoft.SharePoint.Administration.IDiagnosticsLevel
A IDiagnosticsLevel class instance that represents the trace log category.
Show: