共用方式為


SPDatabaseServerDiagnosticsPerformanceCounterProvider Class

The timer job that collects performance counter information from the database server that the installed SharePoint instance is connected to.

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

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPDatabaseServerDiagnosticsPerformanceCounterProvider _
    Inherits SPDiagnosticsPerformanceCounterProvider
'Usage
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.

See Also

Reference

SPDatabaseServerDiagnosticsPerformanceCounterProvider Members

Microsoft.SharePoint.Diagnostics Namespace