共用方式為


IDiagnosticsManager Members

Include Protected Members
Include Inherited Members

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.

The IDiagnosticsManager type exposes the following members.

Methods

  Name Description
Public method GetItem Obsolete. Gets the specified trace log category.
Public method GetItems Obsolete. Gets a collection of all trace log categories for the application.
Public method ResetAll Obsolete. Resets all trace log categories defined for the application to their default event and trace severities.
Public method ResetItem Obsolete. Resets the specified trace log category to its default event and trace severities.
Public method SetAll(TraceSeverity) Obsolete. Sets all trace log categories defined for the application to the specified trace severity.
Public method SetAll(TraceSeverity, EventSeverity) Obsolete. Sets all trace log categories defined for the application to the specified event and trace severities.
Public method Update Obsolete. Updates SharePoint Foundation with any changes made to the trace log categories.

Top

See Also

Reference

IDiagnosticsManager Interface

Microsoft.SharePoint.Administration Namespace