SqlCommand.Notification Propriété

Définition

Obtient ou définit une valeur qui spécifie l’objet SqlNotificationRequest lié à cette commande.

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

Valeur de propriété

SqlNotificationRequest

Quand il a la valeur null (par défaut), aucune notification ne doit être demandée.

Attributs

Remarques

Vous devez définir la valeur de cette propriété avant l’exécution de la commande pour qu’elle prenne effet.

S’applique à

Voir aussi