| title | DROP ENDPOINT (Transact-SQL) | Microsoft Docs | |||||
|---|---|---|---|---|---|---|
| ms.custom | ||||||
| ms.date | 03/06/2017 | |||||
| ms.prod | sql | |||||
| ms.prod_service | sql-database | |||||
| ms.reviewer | ||||||
| ms.technology | t-sql | |||||
| ms.topic | language-reference | |||||
| f1_keywords |
|
|||||
| dev_langs |
|
|||||
| helpviewer_keywords |
|
|||||
| ms.assetid | 6aca7412-66a5-4fa4-86b2-061512ff2080 | |||||
| author | CarlRabeler | |||||
| ms.author | carlrab |
[!INCLUDE SQL Server]
Drops an existing endpoint.
Transact-SQL Syntax Conventions
DROP ENDPOINT endPointName
[!INCLUDEsql-server-tsql-previous-offline-documentation]
endPointName
Is the name of the endpoint to be removed.
The ENDPOINT DDL statements cannot be executed inside a user transaction.
User must be a member of the sysadmin fixed server role, the owner of the endpoint, or have been granted CONTROL permission on the endpoint.
The following example removes a previously created endpoint called sql_endpoint.
DROP ENDPOINT sql_endpoint;
CREATE ENDPOINT (Transact-SQL)
ALTER ENDPOINT (Transact-SQL)
EVENTDATA (Transact-SQL)