Freigeben über


IDiagnosticsManager.SetAll-Methode (TraceSeverity, EventSeverity)

HINWEIS: Diese API ist veraltet.

Legt alle Ablaufverfolgung für die Anwendung, um die angegebenen und im Ablaufverfolgungsprotokoll Schweregrade definierten Kategorien fest.

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

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
)

Parameter

Siehe auch

Referenz

IDiagnosticsManager Schnittstelle

IDiagnosticsManager-Member

SetAll-Überladung

Microsoft.SharePoint.Administration-Namespace

Weitere Ressourcen

Trace Logs

Trace Log Categories

Writing to the Trace Log

Trace Log Example