SqlDependency::Stop Method
.NET Framework (current version)
Stops a listener for a connection specified in a previous Start call.
Assembly: System.Data (in System.Data.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Stop(String^) | Stops a listener for a connection specified in a previous Start call. |
![]() ![]() | Stop(String^, String^) | Stops a listener for a connection specified in a previous Start call. |
The SqlDependency listener will restart when an error occurs in the SQL Server connection.
Show:

