IDiagnosticsManager.SetAll method (TraceSeverity)

NOTE: This API is now obsolete.

Sets all trace log categories defined for the application to the specified trace severity.

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

Syntax

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

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

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