SqlCommand.Notification Свойство

Определение

Получает или задает значение, указывающее объект SqlNotificationRequest, связанный с данной командой.

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

Значение свойства

При задании значения null (по умолчанию) уведомления запрашивать не следует.

Атрибуты

Комментарии

Необходимо задать значение этого свойства перед выполнением команды, чтобы оно вошло в силу.

Применяется к

См. также раздел