Server.EnumPerformanceCounters Method

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

Remarks

Updated text:

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name 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.

See Also

Reference

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

Other Resources

How to: Use an Enumeration Method that Returns a DataTable Object in Visual Basic .NET
Using SQL Server Objects
Calling Methods
Managing Servers

Change History

Release

History

New content:
  • Added code sample to the Example section.

  • Added to the description in the Remarks section.