Szerkesztés

Megosztás a következőn keresztül:


SqlCommand.Notification Property

Definition

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

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

Property 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.

Applies to

See also