Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SqlDependency Methods

SqlDependency Methods

The SqlDependency type exposes the following members.

  Name Description
Public method AddCommandDependency Associates a SqlCommand object with this SqlDependency instance.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member Start(String) Starts the listener for receiving dependency change notifications from the instance of SQL Server specified by the connection string.
Public method Static member Start(String, String) Starts the listener for receiving dependency change notifications from the instance of SQL Server specified by the connection string using the specified SQL Server Service Broker queue.
Public method Static member Stop(String) Stops a listener for a connection specified in a previous Start call.
Public method Static member Stop(String, String) Stops a listener for a connection specified in a previous Start call.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2015 Microsoft