SqlCommand.Notification Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)>]
member Notification : SqlNotificationRequest with 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: