SqlCommand.Notification Property  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that specifies the SqlNotificationRequest object bound to this command.
public:
 property Microsoft::Data::Sql::SqlNotificationRequest ^ Notification { Microsoft::Data::Sql::SqlNotificationRequest ^ get(); void set(Microsoft::Data::Sql::SqlNotificationRequest ^ value); };[System.ComponentModel.Browsable(false)]
public Microsoft.Data.Sql.SqlNotificationRequest Notification { get; set; }public Microsoft.Data.Sql.SqlNotificationRequest Notification { get; set; }[<System.ComponentModel.Browsable(false)>]
member this.Notification : Microsoft.Data.Sql.SqlNotificationRequest with get, setmember this.Notification : Microsoft.Data.Sql.SqlNotificationRequest with get, setPublic Property Notification As SqlNotificationRequestProperty Value
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.