JobServer Object

后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。

The JobServer object exposes attributes associated with SQL Server Agent. SQL Server Agent is responsible for executing scheduled jobs and notifying operators of Microsoft SQL Server error conditions or other SQL Server execution or job states.

显示当前对象的 SQL-DMO 对象模型

Properties

AutoStart Property

Status Property (Services)

MSXServerName Property

Type Property (JobServer)

StartupAccount Property

 

Methods

BeginAlter Method

ReAssignJobsByLogin Method

CancelAlter Method

Refresh Method

DoAlter Method

RemoveJobByID Method

EnumJobHistory Method

RemoveJobsByLogin Method

EnumJobs Method

RemoveJobsByServer Method

EnumSubSystems Method

Start Method (FullTextService, JobServer)

GetJobByID Method

StartMonitor Method

MSXDefect Method

Stop Method

MSXEnlist Method

StopMonitor Method

PurgeJobHistory Method

 

备注

With the JobServer object, you can:

  • Start or stop SQL Server Agent on a server running SQL Server.
  • Manage alerts, jobs, and operators.
  • Enlist the server in a multiserver administration group.
ms133468.note(zh-cn,SQL.90).gif注意:
The JobServer object is compatible with instances of SQL Server versions 7.0 and later. However, the JobServer2 object extends the functionality of the JobServer object for use with features that were introduced in SQL Server 2000.

请参阅

参考

JobServer2 Object

帮助和信息

获取 SQL Server 2005 帮助