Enabling Service Broker in SQL Server 2008

前端 未结 5 819
隐瞒了意图╮
隐瞒了意图╮ 2021-01-30 10:28

I am integrating SqlCacheDependency to use in my LinqToSQL datacontext.

I am using an extension class for Linq querys found here - http://code.msdn.microsoft.com/linqtos

5条回答
  •  误落风尘
    2021-01-30 11:14

    In case anyone else is looking for a solution to this problem, the following command worked great for me. It releases all other connections to the database instead of waiting.

    ALTER DATABASE [DBNAME] SET ENABLE_BROKER WITH ROLLBACK IMMEDIATE
    

提交回复
热议问题