System.Data.SqlClient.SqlDependency.HasChanges Property

Gets a value that indicates whether one of the result sets associated with the dependency has changed.

Syntax

public bool HasChanges { get; }

Value

Documentation for this section has not yet been entered.

Remarks

If you are not using the SqlDependency.OnChange event, you can check the SqlDependency.HasChanges property to determine if the query results have changed.

The SqlDependency.HasChanges property does not necessarily imply a change in the data. Other circumstances, such as time-out expired and failure to set the notification request, also generate a change event.

Requirements

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