How to start or stop an endpoint in SQL Server

To list all endpoints in a SQL Server instance, you can query sys.endpoints catalog view that contains one row for each endpoint:

select * from sys.endpoints

To stop an endpoint:

ALTER ENDPOINT endpoint_name STATE = STOPPED

To start an endpoint:

ALTER ENDPOINT endpoint_name STATE = STARTED

If the post helped you, please share it:
Pin It

2 comments to How to start or stop an endpoint in SQL Server

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">