ExcelDataSourceUIHelper.UpdateSchema(ExcelDataSource, IWin32Window, UserLookAndFeel, IExcelSchemaProvider) Method
OBSOLETE
This overload is obsolete. Use Update
Updates the data source schema available on the client in accordance with the current data source structure.
Namespace: DevExpress.DataAccess.UI.Excel
Assembly: DevExpress.DataAccess.v24.2.UI.dll
NuGet Package: DevExpress.DataAccess.UI
#Declaration
[Obsolete("This overload is obsolete. Use UpdateSchema(this ExcelDataSource dataSource, UpdateSchemaContext context) instead.")]
public static bool UpdateSchema(
this ExcelDataSource dataSource,
IWin32Window owner,
UserLookAndFeel lookAndFeel,
IExcelSchemaProvider schemaProvider
)
#Parameters
Name | Type | Description |
---|---|---|
data |
Excel |
An Excel |
owner | IWin32Window | An object implementing the IWin32Window interface that is the owner of the current dialog window. |
look |
User |
A User |
schema |
IExcel |
An object implementing the IExcel |
#Returns
Type | Description |
---|---|
Boolean | true, if the data source schema has been rebuilt; otherwise, false. |
#Remarks
The following image illustrates the commands available in the ExcelDataSource smart tag. The UpdateSchema method corresponds to the Rebuild Result Schema command.