共用方式為


SPDiagnosticsEventLogProvider class

代表會接聽的 NT 事件,並將其輸出至 Usage 資料庫的診斷提供者。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPJobDefinition
        Microsoft.SharePoint.Diagnostics.SPDiagnosticsProviderJobDefinition
          Microsoft.SharePoint.Diagnostics.SPDiagnosticsProvider
            Microsoft.SharePoint.Diagnostics.SPDiagnosticsEventLogProvider

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

Syntax

'宣告
<GuidAttribute("8923E8C1-E1E9-48b1-9874-3EE67552C4CC")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPDiagnosticsEventLogProvider _
    Inherits SPDiagnosticsProvider
'用途
Dim instance As SPDiagnosticsEventLogProvider
[GuidAttribute("8923E8C1-E1E9-48b1-9874-3EE67552C4CC")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPDiagnosticsEventLogProvider : SPDiagnosticsProvider

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPDiagnosticsEventLogProvider members

Microsoft.SharePoint.Diagnostics namespace