Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 2.35 KB

get-information-about-event-notifications.md

File metadata and controls

42 lines (30 loc) · 2.35 KB
title description author ms.author ms.date ms.service ms.topic helpviewer_keywords
Get Information About Event Notifications
Get Information About Event Notifications
MashaMSFT
mathoma
03/06/2017
sql
conceptual
event notifications [SQL Server], metadata
status information [SQL Server], event notifications
metadata [SQL Server], event notifications

Get Information About Event Notifications

[!INCLUDE SQL Server] The following catalog views are available to query metadata about event notifications.

To get information about nonserver-level event notifications

Note

To view metadata about any event notification in sys.event_notifications created at the database level, at the minimum you must have the following: CONTROL, ALTER, TAKE OWNERSHIP, or VIEW DEFINITION permission on the database, be the owner of the event notification, or have ALTER ANY DATABASE EVENT NOTIFICATION permission. For event notifications created on a specific queue, at the minimum you must have the following: CONTROL, ALTER, TAKE OWNERSHIP, or VIEW DEFINITION permission on the object, be the owner of the event notification, or have ALTER ANY DATABASE EVENT NOTIFICATION permission.

To get information about server-level event notifications

Note

At the minimum, you must have the following: CONTROL or VIEW ANY DEFINITION permission on the server, be the logon or owner of the event notification, or have ALTER ANY EVENT NOTIFICATION permission to view metadata about any event notification in sys.server_event_notifications.

To get information about all events that can fire event notifications

Note

This catalog view does not return event groups.

See Also

Event Notifications