Share via


IDiagnosticsManager interface

NOTE: This API is now obsolete.

Provides an interface through which developers can expose to SharePoint Foundation the categories to assign to trace log messages for a given application.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPDiagnosticsServiceBase")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Interface IDiagnosticsManager
'Usage
Dim instance As IDiagnosticsManager
[ObsoleteAttribute("Use SPDiagnosticsServiceBase")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public interface IDiagnosticsManager

See also

Reference

IDiagnosticsManager members

Microsoft.SharePoint.Administration namespace

Other resources

Trace Logs

Trace Log Categories

Writing to the Trace Log

Trace Log Example