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.

备注

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

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

重载列表

名称 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.

请参阅

参考

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

其他资源

自动执行管理任务(SQL Server 代理)
Scheduling Automatic Administrative Tasks in SQL Server Agent