共用方式為


IDiagnosticsLevel interface

NOTE: This API is now obsolete.

提供開發人員可以用來公開單一追蹤記錄檔類別指派給追蹤記錄訊息的特定應用程式的介面。

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

Syntax

'宣告
<ObsoleteAttribute("Use SPDiagnosticsCategory")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Interface IDiagnosticsLevel
'用途
Dim instance As IDiagnosticsLevel
[ObsoleteAttribute("Use SPDiagnosticsCategory")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public interface IDiagnosticsLevel

請參閱

參照

IDiagnosticsLevel members

Microsoft.SharePoint.Administration namespace

其他資源

Trace Logs

Trace Log Categories

Writing to the Trace Log

Trace Log Example