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

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

Namespace: DevExpress.DashboardWin

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

Declaration

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

Parameters

Type Name Description
DashboardExtractDataSource dataSource

The data source to update.

IWin32Window owner

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

UserLookAndFeel lookAndFeel

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

String fileName

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

String driverName

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

Type Description
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