Skip to content

Latest commit

 

History

History
61 lines (48 loc) · 1.9 KB

File metadata and controls

61 lines (48 loc) · 1.9 KB
title DROP ENDPOINT (Transact-SQL)
description DROP ENDPOINT (Transact-SQL)
author WilliamDAssafMSFT
ms.author wiassaf
ms.date 03/06/2017
ms.prod sql
ms.prod_service sql-database
ms.technology t-sql
ms.topic reference
f1_keywords
DROP_ENDPOINT_TSQL
DROP ENDPOINT
helpviewer_keywords
removing endpoints
endpoints [SQL Server], removing
deleting endpoints
DROP ENDPOINT statement
dropping endpoints
dev_langs
TSQL
ms.assetid 6aca7412-66a5-4fa4-86b2-061512ff2080

DROP ENDPOINT (Transact-SQL)

[!INCLUDE SQL Server]

Drops an existing endpoint.

Topic link icon Transact-SQL Syntax Conventions

Syntax

DROP ENDPOINT endPointName  

[!INCLUDEsql-server-tsql-previous-offline-documentation]

Arguments

endPointName
Is the name of the endpoint to be removed.

Remarks

The ENDPOINT DDL statements cannot be executed inside a user transaction.

Permissions

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.

Examples

The following example removes a previously created endpoint called sql_endpoint.

DROP ENDPOINT sql_endpoint;  

See Also

CREATE ENDPOINT (Transact-SQL)
ALTER ENDPOINT (Transact-SQL)
EVENTDATA (Transact-SQL)