SPDiagnosticsProviderCollection class
代表一群其工作是要收集的診斷資訊,並將其輸出至記錄資料庫的診斷提供者。
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
'宣告
<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>
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.