DataSourceDesigner.RefreshSchema(Boolean) Method

Definition

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

public virtual void RefreshSchema (bool preferSilent);

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

Produkt Versjoner
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also