Compartilhar via


JobServer.EnumPerformanceCounters Method

Enumerates a list of Microsoft SQL Server Agent performance counter information.

A DataTable object value that contains a table of information about SQL Server Agent performance counters.

Remarks

This method is available for instances running Microsoft SQL Server 2005 and later versions.

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

Overload List

Name Description
JobServer.EnumPerformanceCounters ()
Enumerates a list of Microsoft SQL Server Agent performance counter information.
JobServer.EnumPerformanceCounters (String)
Enumerates a list of Microsoft SQL Server Agent performance counter information for the specified object.
JobServer.EnumPerformanceCounters (String, String)
Enumerates a list of Microsoft SQL Server Agent performance counter information for the specified object and specified counter.
JobServer.EnumPerformanceCounters (String, String, String)
Enumerates a list of Microsoft SQL Server Agent performance counter information for the specified object, specified counter, and specified instance of SQL Server.

See Also

Reference

JobServer Class
JobServer Members
Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automating Administrative Tasks (SQL Server Agent)
Scheduling Automatic Administrative Tasks in SQL Server Agent