SPSqlLatencyUsageDefinition 类

使用定义为跟踪的 SQL 异常的。

继承层次结构

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPUsageDefinition
        Microsoft.SharePoint.Administration.SPUsageProvider
          Microsoft.SharePoint.Administration.SPSqlLatencyUsageDefinition

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

语法

声明
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPSqlLatencyUsageDefinition _
    Inherits SPUsageProvider
用法
Dim instance As SPSqlLatencyUsageDefinition
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPSqlLatencyUsageDefinition : SPUsageProvider

线程安全性

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

另请参阅

引用

SPSqlLatencyUsageDefinition 成员

Microsoft.SharePoint.Administration 命名空间