IHierarchicalDataSourceDesigner.CanRefreshSchema Property

 

Gets a value indicating whether the RefreshSchema method can be called.

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

abstract CanRefreshSchema : bool with get

Property Value

Type: System.Boolean

true if RefreshSchema can be called; otherwise, false.

The CanRefreshSchema property is used by a design host, such as Visual Studio 2005, to determine whether to display a Refresh Schema command at design time.

Notes to Implementers:

If you implement the IHierarchicalDataSourceDesigner interface to create your own data source and the schema will never change, the CanRefreshSchema property should always return false and the RefreshSchema method should raise a NotSupportedException.

.NET Framework
Available since 2.0
Return to top
Show: