SqlCommand.Notification Propriedade

Definição

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

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

Valor da propriedade

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