DiagnosticsService.SetItem Method (IDiagnosticsLevel, TraceSeverity, EventSeverity)
This member is reserved for internal use and is not intended to be used directly from your code.
Namespace: Microsoft.Office.Server.Administration
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Sub SetItem ( _
item As IDiagnosticsLevel, _
traceSeverity As TraceSeverity, _
eventSeverity As EventSeverity _
)
'Usage
Dim instance As DiagnosticsService
Dim item As IDiagnosticsLevel
Dim traceSeverity As TraceSeverity
Dim eventSeverity As EventSeverity
instance.SetItem(item, traceSeverity, _
eventSeverity)
public void SetItem(
IDiagnosticsLevel item,
TraceSeverity traceSeverity,
EventSeverity eventSeverity
)
Parameters
- traceSeverity
Type: Microsoft.SharePoint.Administration.TraceSeverity
- eventSeverity
Type: Microsoft.SharePoint.Administration.EventSeverity