ObjectDataSourceDesigner.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 that indicates whether the RefreshSchema(Boolean) method can be called.
public:
virtual property bool CanRefreshSchema { bool get(); };
public override bool CanRefreshSchema { get; }
member this.CanRefreshSchema : bool
Public Overrides ReadOnly Property CanRefreshSchema As Boolean
Property Value
true
if the RefreshSchema(Boolean) can be called; otherwise, false
.
Remarks
The RefreshSchema method can be called, and the CanRefreshSchema property is true
, if the Site property of the associated ObjectDataSource control implements either the ITypeResolutionService or ITypeDiscoveryService interface, and the TypeName and SelectMethod properties both contain a value.
If the CanRefreshSchema is true
, the Refresh Schema menu item is displayed in the Common ObjectDataSource Tasks context menu of the associated control on the visual designer surface.
Applies to
See also
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de