Редагувати

Поділитися через


DataSourceDesigner.RefreshSchema(Boolean) Method

Definition

Refreshes the schema from the data source, while optionally suppressing events.

public:
 virtual void RefreshSchema(bool preferSilent);
public virtual void RefreshSchema (bool preferSilent);
abstract member RefreshSchema : bool -> unit
override this.RefreshSchema : bool -> unit
Public Overridable Sub RefreshSchema (preferSilent As Boolean)

Parameters

preferSilent
Boolean

true to allow events when refreshing the schema; false to disable the DataSourceChanged and SchemaRefreshed events when refreshing the schema.

Implements

Exceptions

An attempt was made to invoke this method in the base class.

Remarks

The RefreshSchema method is not supported in the DataSourceDesigner class. However, it is supported in derived classes, such as the XmlDataSourceDesigner class.

Applies to

See also