共用方式為


SPDatabaseServerDiagnosticsPerformanceCounterProvider class

計時器工作,可從已安裝的 SharePoint 執行個體連線至資料庫伺服器收集的效能計數器資訊。

Inheritance hierarchy

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.SPDiagnosticsPerformanceCounterProvider
              Microsoft.SharePoint.Diagnostics.SPDatabaseServerDiagnosticsPerformanceCounterProvider

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

Syntax

'宣告
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPDatabaseServerDiagnosticsPerformanceCounterProvider _
    Inherits SPDiagnosticsPerformanceCounterProvider
'用途
Dim instance As SPDatabaseServerDiagnosticsPerformanceCounterProvider
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPDatabaseServerDiagnosticsPerformanceCounterProvider : SPDiagnosticsPerformanceCounterProvider

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.

請參閱

參照

SPDatabaseServerDiagnosticsPerformanceCounterProvider members

Microsoft.SharePoint.Diagnostics namespace