System.Web.UI.Design.DataSourceDesigner.RefreshSchema Method

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

Syntax

public virtual void RefreshSchema (bool preferSilent)

Parameters

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

Remarks

The DataSourceDesigner.RefreshSchema(bool) method is not supported in the System.Web.UI.Design.DataSourceDesigner class. However, it is supported in derived classes, such as the System.Web.UI.Design.WebControls.XmlDataSourceDesigner class.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0