SqlCommand.Notification Property

Definition

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

[System.ComponentModel.Browsable(false)]
public Microsoft.Data.Sql.SqlNotificationRequest Notification { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Notification : Microsoft.Data.Sql.SqlNotificationRequest with get, set
Public Property Notification As SqlNotificationRequest

Property Value

SqlNotificationRequest

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

Attributes

Remarks

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

Applies to