共用方式為


IDataConnectionProperties.PropertyChanged 事件

引發事件,在變更資料提供者連接屬性。

命名空間:  Microsoft.Data.ConnectionUI
組件:  Microsoft.Data.ConnectionUI (在 Microsoft.Data.ConnectionUI.dll 中)

語法

'宣告
Event PropertyChanged As EventHandler
event EventHandler PropertyChanged
 event EventHandler^ PropertyChanged {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
abstract PropertyChanged : IEvent<EventHandler,
    EventArgs>
JScript 不支援事件。

備註

[資料連接] 對話方塊攔截到這個事件中才能判斷何時取得 IsComplete 屬性而更新 [確定] 按鈕狀態 (已啟用或停用)。

.NET Framework 安全性

請參閱

參考

IDataConnectionProperties 介面

Microsoft.Data.ConnectionUI 命名空間