Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 2.34 KB

File metadata and controls

42 lines (30 loc) · 2.34 KB
title Get Information About Event Notifications
description Get Information About Event Notifications
author MashaMSFT
ms.author mathoma
ms.date 03/06/2017
ms.service sql
ms.topic how-to
helpviewer_keywords
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