SqlCommand.Notification Propriedade

Definição

Obtém ou define um valor que especifica o objeto SqlNotificationRequest associado a este comando.

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

Valor da propriedade

SqlNotificationRequest

Quando definido como nulo (padrão), nenhuma notificação deve ser solicitada.

Atributos

Comentários

Você deve definir o valor dessa propriedade antes que o comando seja executado para que ela entre em vigor.

Aplica-se a

Confira também