Redigera

Dela via


BaseDataBoundControlDesigner.DisconnectFromDataSource Method

Definition

When overridden in a derived class, unhooks events from the current data source.

protected:
 abstract void DisconnectFromDataSource();
protected abstract void DisconnectFromDataSource ();
abstract member DisconnectFromDataSource : unit -> unit
Protected MustOverride Sub DisconnectFromDataSource ()

Notes to Implementers

Typically, when you override the DisconnectFromDataSource() method, you will disconnect the DataSourceChanged and SchemaRefreshed events.

Applies to

See also