SQL SERCER 控制 SERVERICE BROKER 服务
ALTER DATABASE TeaHouse SET DISABLE_BROKER with rollback IMMEDIATE
ALTER DATABASE TeaHouse SET ENABLE_BROKER with rollback IMMEDIATE
SELECT IS_BROKER_ENABLED FROM master.sys.databases
WHERE name='TeaHouse'
ALTER DATABASE TeaHouse SET DISABLE_BROKER with rollback IMMEDIATE
ALTER DATABASE TeaHouse SET ENABLE_BROKER with rollback IMMEDIATE
SELECT IS_BROKER_ENABLED FROM master.sys.databases
WHERE name='TeaHouse'