Back to Devexpress

ExtractDataSourceUIHelper.UpdateExtractFile(DashboardExtractDataSource, IWin32Window, UserLookAndFeel, String, String) Method

dashboard-devexpress-dot-dashboardwin-dot-extractdatasourceuihelper-dot-updateextractfile-x28-dashboardextractdatasource-iwin32window-userlookandfeel-string-string-x29.md

latest3.9 KB
Original Source

ExtractDataSourceUIHelper.UpdateExtractFile(DashboardExtractDataSource, IWin32Window, UserLookAndFeel, String, String) Method

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

Updates the extract data source file displaying the progress and allowing cancellation of the process.

Namespace : DevExpress.DashboardWin

Assembly : DevExpress.Dashboard.v25.2.Win.dll

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
public static bool UpdateExtractFile(
    this DashboardExtractDataSource dataSource,
    IWin32Window owner,
    UserLookAndFeel lookAndFeel,
    string fileName,
    string driverName
)
vb
<ExtensionAttribute>
Public Shared Function UpdateExtractFile(
    dataSource As DashboardExtractDataSource,
    owner As IWin32Window,
    lookAndFeel As UserLookAndFeel,
    fileName As String,
    driverName As String
) As Boolean

Parameters

NameTypeDescription
dataSourceDashboardExtractDataSource

The data source to update.

| | owner | IWin32Window |

A IWin32Window object that is the parent window for the task dialog.

| | lookAndFeel | UserLookAndFeel |

A UserLookAndFeel object whose properties specify the look and feel settings applied to the dialog.

| | fileName | String |

A data source file path. Subsequently processed by the DataDirectoryPatchingService.

| | driverName | String |

A string that specifies the driver name for the custom extract data source driver. Set it to null for the built-in extract data source implementation.

|

Returns

TypeDescription
Boolean

True , if the data source is successfully modified; otherwise, false.

|

Remarks

This method calls the UpdateExtractFile method and invokes a window that indicates task progress and allows task cancellation.

See Also

Data Source Wizard

Extract Data Source

ExtractDataSourceUIHelper Class

ExtractDataSourceUIHelper Members

DevExpress.DashboardWin Namespace