System.Data.Sql.SqlNotificationRequest Class

Represents a request for notification for a given command.

See Also: SqlNotificationRequest Members

Syntax

public sealed class SqlNotificationRequest

Remarks

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.

Requirements

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