Following code snippet useful to enabled the service broker in sql server
Alter Database "YourDataBaseName" SET ENABLE_BROKER;After running the preceding code snippet , it will enable the service broker on specified database.
This code snippet is useful to enable the service broker in SQL Server.
Alter Database "YourDataBaseName" SET ENABLE_BROKER;