SqlCommand.Notification Property

 

Gets or sets a value that specifies the SqlNotificationRequest object bound to this command.

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

[BrowsableAttribute(false)]
public SqlNotificationRequest Notification { get; set; }

Property Value

Type: System.Data.Sql.SqlNotificationRequest

When set to null (default), no notification should be requested.

You must set the value for this property before the command is executed for it to take effect.

.NET Framework
Available since 2.0
Return to top
Show: