TechNet
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize
This documentation is archived and is not being maintained.

DROP ENDPOINT (Transact-SQL)

Drops an existing endpoint.

Topic link icon Transact-SQL Syntax Conventions


DROP ENDPOINT endPointName

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.

For more information, see GRANT Endpoint Permissions (Transact-SQL).

The following example removes a previously created endpoint called sql_endpoint.

DROP ENDPOINT sql_endpoint;
Show:
© 2016 Microsoft