IHierarchicalDataSourceDesigner.CanRefreshSchema Property
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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om