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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Use SPDiagnosticsServiceBase")> _
Function GetItem ( _
name As String _
) As IDiagnosticsLevel
'Usage
Dim instance As IDiagnosticsManager
Dim name As String
Dim returnValue As IDiagnosticsLevel
returnValue = instance.GetItem(name)
[ObsoleteAttribute("Use SPDiagnosticsServiceBase")]
IDiagnosticsLevel GetItem(
string name
)
Parameters
name
Type: System.StringThe 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.
See Also
Reference
Microsoft.SharePoint.Administration Namespace