【问题标题】:How to terminate SQL Dependency when stop debugging?停止调试时如何终止 SQL 依赖关系?
【发布时间】:2015-08-19 08:50:05
【问题描述】:

我在应用程序中使用 SQL 依赖。当我停止调试时,SQL Dependency 并没有停止,并且我在 Queues 选项卡中获得了许多 SqlQueryNotificationService。我必须触发什么事件来停止 SQL 依赖关系?

【问题讨论】:

    标签: sql .net sql-server sqldependency


    【解决方案1】:

    SQLDepencency 上的文档说有一个 Stop 方法(实际上是两个:两个 Start 方法各一个)。您可能应该调用其中之一...

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-11-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-16
      相关资源
      最近更新 更多