SqlCommand.Notification 屬性

定義

取得或設定一個值,指定綁定到此指令的物件。SqlNotificationRequest

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

屬性值

當預設值設為空時,則不會要求任何通知。

屬性

備註

你必須在執行指令前先設定該屬性的值,該屬性才會生效。

適用於

另請參閱