다음을 통해 공유


IDiagnosticsManager.SetAll Method (TraceSeverity, EventSeverity)

NOTE: This API is now obsolete.

Sets all trace log categories defined for the application to the specified event and trace severities.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use SPDiagnosticsServiceBase")> _
Sub SetAll ( _
    traceSeverity As TraceSeverity, _
    eventSeverity As EventSeverity _
)
'Usage
Dim instance As IDiagnosticsManager
Dim traceSeverity As TraceSeverity
Dim eventSeverity As EventSeverity

instance.SetAll(traceSeverity, eventSeverity)
[ObsoleteAttribute("Use SPDiagnosticsServiceBase")]
void SetAll(
    TraceSeverity traceSeverity,
    EventSeverity eventSeverity
)

Parameters

See Also

Reference

IDiagnosticsManager Interface

IDiagnosticsManager Members

SetAll Overload

Microsoft.SharePoint.Administration Namespace

Other Resources

Trace Logs

Trace Log Categories

Writing to the Trace Log

Trace Log Example