(后台)SQL Server 代理(已禁用代理 XP) 怎么解决(转)

百度知道搜索的答案:

在SQL Server Management Studio中连接到SQL Server实例后,会显示“SQL Server 代理”节点。如果当前该实例的Agent服务没有启动,“SQL Server 代理”后边就会显示“(已禁用代理XP)”。

解决方法:
Sql代码
sp_configure 'show advanced options', 1;   
GO   
RECONFIGURE WITH OVERRIDE;    
GO   
sp_configure 'Agent XPs', 1;   
GO   
RECONFIGURE WITH OVERRIDE     
GO 
sp_configure 'show advanced options', 1;
GO
RECONFIGURE WITH OVERRIDE;  
GO
sp_configure 'Agent XPs', 1;
GO
RECONFIGURE WITH OVERRIDE    
GO
配置选项 'show advanced options' 已从 1 更改为 1。请运行 RECONFIGURE 语句进行安装。
配置选项 'Agent XPs' 已从 0 更改为 1。请运行 RECONFIGURE 语句进行安装。
至此问题解决。
原文地址:https://www.cnblogs.com/historylyt/p/8176189.html