ExcelDataSourceUIHelper.UpdateSchema(ExcelDataSource, IWin32Window, UserLookAndFeel, IExcelSchemaProvider) Method

Obsolete. 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.v20.2.UI.dll

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
)
<Obsolete("This overload is obsolete. Use UpdateSchema(this ExcelDataSource dataSource, UpdateSchemaContext context) instead.")>
<ExtensionAttribute>
Public Shared Function UpdateSchema(
    dataSource As ExcelDataSource,
    owner As IWin32Window,
    lookAndFeel As UserLookAndFeel,
    schemaProvider As IExcelSchemaProvider
) As Boolean

Parameters

Name Type Description
dataSource ExcelDataSource

An ExcelDataSource object.

owner IWin32Window

An object implementing the IWin32Window interface that is the owner of the current dialog window.

lookAndFeel UserLookAndFeel

A UserLookAndFeel object, specifying the application's look and feel settings.

schemaProvider IExcelSchemaProvider

An object implementing the IExcelSchemaProvider interface.

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.

ExcelDataSource_SmartTag

See Also