System.Data.Sql.SqlNotificationRequest Class

Represents a request for notification for a given command.

See Also: SqlNotificationRequest Members


public sealed class SqlNotificationRequest


This class provides low-level access to the query notification services exposed by SQL Server 2005. For most applications the System.Data.SqlClient.SqlDependency class provides a simpler way of using query notifications. However, if you need fine control over when notifications occur, or you need to customize the message data returned as part of a notification, the System.Data.Sql.SqlNotificationRequest class is the one to use.


Namespace: System.Data.Sql
Assembly: System.Data (in System.Data.dll)
Assembly Versions:
Since: .NET 2.0