Επεξεργασία

Κοινή χρήση μέσω


IHierarchicalDataSourceDesigner.CanRefreshSchema Property

Definition

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

public:
 property bool CanRefreshSchema { bool get(); };
public bool CanRefreshSchema { get; }
member this.CanRefreshSchema : bool
Public ReadOnly Property CanRefreshSchema As Boolean

Property Value

true if RefreshSchema(Boolean) can be called; otherwise, false.

Remarks

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(Boolean) method should raise a NotSupportedException.

Applies to

See also