SqlDependency::Stop Method

 

Stops a listener for a connection specified in a previous Start call.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticStop(String^)

Stops a listener for a connection specified in a previous Start call.

System_CAPS_pubmethodSystem_CAPS_staticStop(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.

Return to top
Show: