DROP EVENT SESSION (Transact-SQL)
THIS TOPIC APPLIES TO:SQL Server Azure SQL Database Azure SQL Data Warehouse Parallel Data Warehouse
Drops an event session.
Is the name of an existing event session.
When you drop an event session, all configuration information, such as targets and session parameters, is completely removed.
Requires the ALTER ANY EVENT SESSION permission.
The following example shows how to drop an event session.
DROP EVENT SESSION evt_spin_lock_diagnosis ON SERVER;