共用方式為


SPDiagnosticsSqlProvider Class

Provides methods and properties for working with a SQL-based diagnostics log.

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.SPDiagnosticsSqlProvider
              Microsoft.SharePoint.Diagnostics.SPDiagnosticsBlockingQueryProvider
              Microsoft.SharePoint.Diagnostics.SPDiagnosticsSqlDmvProvider
              Microsoft.SharePoint.Diagnostics.SPDiagnosticsSqlMemoryProvider

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

Syntax

'Declaration
<GuidAttribute("06B10257-9F4B-43b9-84B8-1EC26320EECD")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPDiagnosticsSqlProvider _
    Inherits SPDiagnosticsProvider
'Usage
Dim instance As SPDiagnosticsSqlProvider
[GuidAttribute("06B10257-9F4B-43b9-84B8-1EC26320EECD")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPDiagnosticsSqlProvider : 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

SPDiagnosticsSqlProvider Members

Microsoft.SharePoint.Diagnostics Namespace