SPDiagnosticsProviderCollection class

Represents a collection of diagnostics providers whose job is to collect diagnostics information and outputs them to Logging Database.

Inheritance hierarchy

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

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPDiagnosticsProviderCollection _
    Inherits SPPersistedChildCollection(Of SPDiagnosticsProvider)
'Usage
Dim instance As SPDiagnosticsProviderCollection
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPDiagnosticsProviderCollection : SPPersistedChildCollection<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

SPDiagnosticsProviderCollection members

Microsoft.SharePoint.Diagnostics namespace