Share via


Operator.EnumJobNotifications Method

Enumerates a list of notifications made by SQL Server Agent on completion of a job execution.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function EnumJobNotifications As DataTable
'Usage
Dim instance As [Operator]
Dim returnValue As DataTable 

returnValue = instance.EnumJobNotifications()
public DataTable EnumJobNotifications()
public:
DataTable^ EnumJobNotifications()
member EnumJobNotifications : unit -> DataTable
public function EnumJobNotifications() : DataTable

Return Value

Type: System.Data.DataTable
A DataTable object value that contains a table of information about the notifications and the associated jobs.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

Operator Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_help_operator (Transact-SQL)