共用方式為


Server.EnumPerformanceCounters Method

Enumerates a list of performance counters that are supported by the instance of Microsoft SQL Server.

備註

更新的文字:

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

多載清單

名稱 Description
Server.EnumPerformanceCounters ()
Enumerates a list of performance counters that are supported by the instance of Microsoft SQL Server.
Server.EnumPerformanceCounters (String)
Enumerates a list of performance counters that are supported by the instance of Microsoft SQL Server for a specified object.
Server.EnumPerformanceCounters (String, String)
Enumerates a list of performance counters that are supported by the instance of Microsoft SQL Server for a specified object and specified counter.
Server.EnumPerformanceCounters (String, String, String)
Enumerates a list of performance counters that are supported by the instance of Microsoft SQL Server for a specified object, for a specified counter, and on the specified instance of SQL Server.

請參閱

參考

Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace

其他資源

How to: Use an Enumeration Method that Returns a DataTable Object in Visual Basic .NET
使用 SQL Server 物件
Calling Methods
管理伺服器