You can use the sp_get_sqlagent_properties undocumented stored procedure to retrieve the SQL Agent properties of a SQL Instance. It is available in SQL Server MSDB database. This procedure only works if the SQL Agetn Service is started.
Leave a reply
sys.dm_server_registry
Happy New Year – 2013
Steps to Move SQL Server Log Shipping Secondary Database Files
Problem
With SQL Server is it possible to move the secondary database involved with Log Shipping to a different drive without disturbing the Log Shipping configuration? If so, what are the steps to accomplish this task? Check out this tip to learn more.
sys.dm_server_services
sys.dm_server_services DMV is available in SQL Server 2008 R2 SP1 and SQL Server 2012. It will return the information about the below SQL Services on the current instance.
- SQL Server (2008 R2 SP1 and SQL Server 2012)
- SQL Server Agent services(2008 R2 SP1 and SQL Server 2012)
- Full-Text(SQL Server 2012)



