語言

HierarchicalDataBoundControlDesigner.DisconnectFromDataSource 方法

定義

執行必要的動作以斷開與當前資料來源的連結。

protected:
 override void DisconnectFromDataSource();
protected override void DisconnectFromDataSource();
override this.DisconnectFromDataSource : unit -> unit
Protected Overrides Sub DisconnectFromDataSource ()

備註

此 DisconnectFromDataSource 方法會將 DataSourceChanged and SchemaRefreshed 事件與當前資料來源斷開連結。

適用於

另請參閱