How to: Deactivate Service Broker Networking (Transact-SQL)

Service Broker sends and receives messages over the network while any Service Broker endpoint is in the STARTED state. To deactivate Service Broker networking, drop all Service Broker endpoints.

To deactivate Service Broker networking

  • Drop all Service Broker endpoints.

Example

USE master ;
GO

DROP ENDPOINT BrokerEndpoint ;
GO