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 (預設值) 時,不應要求任何告知。

屬性

備註

您必須在執行命令之前設定此屬性的值,才能生效。

適用於

另請參閱