共用方式為


SPDiagnosticsEventLogProvider Class

Represents a diagnostic provider which listens for NT Events and outputs them to Usage database.

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

'Declaration
<GuidAttribute("8923E8C1-E1E9-48b1-9874-3EE67552C4CC")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPDiagnosticsEventLogProvider _
    Inherits SPDiagnosticsProvider
'Usage
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.

See Also

Reference

SPDiagnosticsEventLogProvider Members

Microsoft.SharePoint.Diagnostics Namespace