TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

sp_enum_sqlagent_subsystems (Transact-SQL)

 

Updated: June 10, 2016

Lists the SQL Server Agent subsystems.

Applies to: SQL Server (SQL Server 2008 through current version).

Topic link icon Transact-SQL Syntax Conventions

  
sp_enum_sqlagent_subsystems  

None

0 (success) or 1 (Failure)

Column nameData typeDescription
subsystemnvarchar(40)Name of the subsystem.
descriptionnvarchar(512)Description of the subsystem.
subsystem_dllnvarchar(510)DLL module that contains the subsystem.
agent_exenvarchar(510)Executable module that is used by the subsystem.
start_entry_pointnvarchar(30)Procedure that SQL Server Agent calls during job step execution.
event_entry_pointnvarchar(30)Procedure that SQL Server Agent calls during job step execution.
stop_entry_pointnvarchar(30)Procedure that SQL Server Agent calls during job step execution.
max_worker_threadsintMaximum number of threads SQL Server Agent will start for this subsystem.
subsystem_idintIdentifier for the subsystem.

This procedure lists the subsystems available in the instance.

By default, members of the sysadmin fixed server role can execute this stored procedure. Other users must be granted the SQLAgentOperatorRole fixed database role in the msdb database.

For details about SQLAgentOperatorRole, see SQL Server Agent Fixed Database Roles.

Implement SQL Server Agent Security
sp_add_jobstep (Transact-SQL)

Community Additions

ADD
Show:
© 2016 Microsoft