Share via


SqlCommand.Notification Proprietà

Definizione

Ottiene o imposta un valore che specifica l'oggetto SqlNotificationRequest associato a questo 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

Valore della proprietà

Quando viene impostato su Null, che rappresenta il valore predefinito, non è possibile richiedere alcuna notifica.

Attributi

Commenti

Prima dell'esecuzione del comando, è necessario impostare il valore per questa proprietà.

Si applica a