SPDiagnosticsProviderCollection 类

代表的工作就是收集诊断信息并将其输出到日志记录数据库的诊断提供程序的集合。

继承层次结构

System.Object
  Microsoft.SharePoint.Administration.SPPersistedObjectCollection<SPDiagnosticsProvider>
    Microsoft.SharePoint.Administration.SPPersistedChildCollection<SPDiagnosticsProvider>
      Microsoft.SharePoint.Diagnostics.SPDiagnosticsProviderCollection

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

语法

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

线程安全性

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

另请参阅

引用

SPDiagnosticsProviderCollection 成员

Microsoft.SharePoint.Diagnostics 命名空间