Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public:
[BrowsableAttribute(false)]
property SqlNotificationRequest^ Notification {
	SqlNotificationRequest^ get();
	void set(SqlNotificationRequest^ value);
}

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:
© 2017 Microsoft