This documentation is archived and is not being maintained.

DataSourceDesigner.RefreshSchema Method

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

Namespace: System.Web.UI.Design
Assembly: System.Design (in

public virtual void RefreshSchema (
	bool preferSilent
public void RefreshSchema (
	boolean preferSilent
public function RefreshSchema (
	preferSilent : boolean
Not applicable.



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

Exception typeCondition


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

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0