System.Web.UI.Design.DataSourceDesigner.CanRefreshSchema Property

Gets a value indicating whether the DataSourceDesigner.RefreshSchema(bool) method can be called.

Syntax

public virtual bool CanRefreshSchema { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the DataSourceDesigner.CanRefreshSchema property in a derived class to enable or disable the ability to refresh the schema at design time for a specific data source. If your application requires an invariant data structure and the schema will never change, you want the DataSourceDesigner.CanRefreshSchema property to return false.

A design host such as vsprvslong uses the DataSourceDesigner.CanRefreshSchema property to determine whether a command to refresh the schema appears in the action list menu at design time.

In a design host such as vsprvslong, you can see the DataSourceDesigner.CanRefreshSchema property in action by completing the following process:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

Requirements

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