SPDiagnosticsService.SetItem SPDiagnosticsService.SetItem Method

Definition

Overloads

SetItem(IDiagnosticsLevel, TraceSeverity, EventSeverity) SetItem(IDiagnosticsLevel, TraceSeverity, EventSeverity)
SetItem(Int32, TraceSeverity, EventSeverity) SetItem(Int32, TraceSeverity, EventSeverity)

SetItem(IDiagnosticsLevel, TraceSeverity, EventSeverity) SetItem(IDiagnosticsLevel, TraceSeverity, EventSeverity)

Warning

This API is now obsolete.

public:
 void SetItem(Microsoft::SharePoint::Administration::IDiagnosticsLevel ^ item, Microsoft::SharePoint::Administration::TraceSeverity traceSeverity, Microsoft::SharePoint::Administration::EventSeverity eventSeverity);
[System.Obsolete("directly modify severities on SPDiagnosticsCategory")]
public void SetItem (Microsoft.SharePoint.Administration.IDiagnosticsLevel item, Microsoft.SharePoint.Administration.TraceSeverity traceSeverity, Microsoft.SharePoint.Administration.EventSeverity eventSeverity);
Parameters

SetItem(Int32, TraceSeverity, EventSeverity) SetItem(Int32, TraceSeverity, EventSeverity)

Warning

This API is now obsolete.

public:
 void SetItem(int key, Microsoft::SharePoint::Administration::TraceSeverity traceSeverity, Microsoft::SharePoint::Administration::EventSeverity eventSeverity);
[System.Obsolete("directly modify severities on SPDiagnosticsCategory")]
public void SetItem (int key, Microsoft.SharePoint.Administration.TraceSeverity traceSeverity, Microsoft.SharePoint.Administration.EventSeverity eventSeverity);
Parameters
key
Int32 Int32

Applies to