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: