SPDiagnosticsService.SetItem SPDiagnosticsService.SetItem SPDiagnosticsService.SetItem Method

Definition

Overloads

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

SetItem(IDiagnosticsLevel, 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);
member this.SetItem : Microsoft.SharePoint.Administration.IDiagnosticsLevel * Microsoft.SharePoint.Administration.TraceSeverity * Microsoft.SharePoint.Administration.EventSeverity -> unit

Parameters

SetItem(Int32, TraceSeverity, EventSeverity) 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);
member this.SetItem : int * Microsoft.SharePoint.Administration.TraceSeverity * Microsoft.SharePoint.Administration.EventSeverity -> unit

Parameters

Applies to