Freigeben über


SPDiagnosticsService.SetItem-Methode (Int32, TraceSeverity, EventSeverity)

HINWEIS: Diese API ist veraltet.

Dieses Mitglied ist der internen Verwendung vorbehalten und kann nicht direkt in Ihrem Code verwendet werden.

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

Syntax

'Declaration
<ObsoleteAttribute("directly modify severities on SPDiagnosticsCategory")> _
Public Sub SetItem ( _
    key As Integer, _
    traceSeverity As TraceSeverity, _
    eventSeverity As EventSeverity _
)
'Usage
Dim instance As SPDiagnosticsService
Dim key As Integer
Dim traceSeverity As TraceSeverity
Dim eventSeverity As EventSeverity

instance.SetItem(key, traceSeverity, eventSeverity)
[ObsoleteAttribute("directly modify severities on SPDiagnosticsCategory")]
public void SetItem(
    int key,
    TraceSeverity traceSeverity,
    EventSeverity eventSeverity
)

Parameter

Siehe auch

Referenz

SPDiagnosticsService Klasse

SPDiagnosticsService-Member

SetItem-Überladung

Microsoft.SharePoint.Administration-Namespace