SqlCommand.Notification Vlastnost

Definice

Získá nebo nastaví hodnotu, která určuje SqlNotificationRequest objekt vázaný na tento příkaz.

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

Hodnota vlastnosti

Pokud je nastavená hodnota null (výchozí), nemělo by se vyžadovat žádné oznámení.

Atributy

Poznámky

Před provedením příkazu je nutné nastavit hodnotu této vlastnosti, aby se projevila.

Platí pro

Viz také