dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlCommand Class / NotificationAutoEnlist Property

In This Topic
NotificationAutoEnlist Property
In This Topic
Determines whether the application should automatically receive query notifications from a common SqlDependency object.
Syntax
'Declaration
 
Public Property NotificationAutoEnlist As Boolean
 

Property Value

If true, the application should automatically receive query notifications from a common SqlDependency object; otherwise, false.
Remarks

This property is used in ASP.NET applications to receive notifications for all commands executed by an ASP.NET page. This enables ASP.NET to cache this page until the queries used to render the page would produce a different result.

This property is supported for SQL Server 2005 or higher. For earlier versions, this property is ignored.

See Also