DataSourceDesigner.RefreshSchema(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.