View Information About an Operator
Applies to: SQL Server Azure SQL Managed Instance
Important
On Azure SQL Managed Instance, most, but not all SQL Server Agent features are currently supported. See Azure SQL Managed Instance T-SQL differences from SQL Server for details.
This topic describes how to view information about a Microsoft SQL Server Agent operator in SQL Server by using SQL Server Management Studio or Transact-SQL.
Before You Begin
Security
Permissions
By default, members of the sysadmin fixed server role can execute this stored procedure. Other users must be granted one of the following SQL Server Agent fixed database roles in the msdb database:
SQLAgentUserRole
SQLAgentReaderRole
SQLAgentOperatorRole
For details about the permissions of these roles, see SQL Server Agent Fixed Database Roles.
Using SQL Server Management Studio
To view information about an operator
In Object Explorer, click the plus sign to expand the server that contains the operator you want to view.
Click the plus sign to expand SQL Server Agent.
Click the plus sign to expand the Operators folder.
Right-click the operator that you want to view and select Properties.
For more information on the available options contained in the operator_nameProperties dialog box, see:
When finished, click OK.
Using Transact-SQL
To view information about an operator
In Object Explorer, connect to an instance of Database Engine.
On the Standard bar, click New Query.
Copy and paste the following example into the query window and click Execute.
-- reports information about operator François Ajenstat -- This example assumes that the operator exists. USE msdb ; GO EXEC dbo.sp_help_operator @operator_name = N'François Ajenstat' ; GO
For more information, see sp_help_operator (Transact-SQL).