SqlDataSourceUIHelper.RebuildResultSchema(SqlDataSource, UserLookAndFeel, IWin32Window, IParameterService, Boolean) Method
OBSOLETE
This overload is obsolete. Use RebuildResultSchema instead.
Updates the data source schema available on the client in accordance to the current data source structure.
Namespace: DevExpress.DataAccess.UI.Sql
Assembly: DevExpress.DataAccess.v25.1.UI.dll
NuGet Package: DevExpress.DataAccess.UI
Declaration
[Obsolete("This overload is obsolete. Use RebuildResultSchema(this SqlDataSource dataSource, ReuildResultSchemaContext context) instead.")]
public static bool RebuildResultSchema(
this SqlDataSource dataSource,
UserLookAndFeel lookAndFeel,
IWin32Window owner,
IParameterService parameterService,
bool showSuccessMessage
)
Parameters
| Name | Type | Description |
|---|---|---|
| dataSource | SqlDataSource | A SqlDataSource object, specifying the database connection. |
| lookAndFeel | UserLookAndFeel | A UserLookAndFeel object, specifying the application’s look and feel settings. |
| owner | IWin32Window | An object implementing the IWin32Window interface that is the owner of the current dialog window. |
| parameterService | IParameterService | An object implementing the IParameterService interface. |
| showSuccessMessage | Boolean | true to acknowledge the task completion upon successfully updating the schema; otherwise false. |
Returns
| Type | Description |
|---|---|
| Boolean | true, if the dialog was finished by clicking the OK button; otherwise, false. |
Remarks
The following image illustrates the Rebuild Result Schema action available in the SqlDataSource smart tag (corresponds to the RebuildResultSchema method of the SqlDataSourceUIHelper class).
