SPDiagnosticsSqlProvider 类

提供方法和属性使用基于 SQL 的诊断日志。

继承层次结构

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

命名空间:  Microsoft.SharePoint.Diagnostics
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<GuidAttribute("06B10257-9F4B-43b9-84B8-1EC26320EECD")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPDiagnosticsSqlProvider _
    Inherits SPDiagnosticsProvider
用法
Dim instance As SPDiagnosticsSqlProvider
[GuidAttribute("06B10257-9F4B-43b9-84B8-1EC26320EECD")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPDiagnosticsSqlProvider : SPDiagnosticsProvider

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

SPDiagnosticsSqlProvider 成员

Microsoft.SharePoint.Diagnostics 命名空间