--is_broker_enabled为0未启用,为1启用SELECT name,is_broker_enabled FROM sys.databases WHERE name = 'DBNAME'ALTER DATABASE DbName SET NEW_BROKER WITH ROLLBACK IMMEDIATE;ALTER DATABASE DbName SET ENABLE_BROKER;