Saves an XML string or a file containing "report data source config" data. Can only be called when a data provider based data source was loaded via the DatabaseConnectionDialog. The XML string contains information about the data provider, the connection string, the selected master table and existing data relations. Data Source Configuration Files can only be used in Windows Forms applications. When calling this method from a WPF Application, an exception is thrown.

SaveDataSourceConfig()

public void SaveDataSourceConfig();

SaveDataSourceConfig(Object)

public void SaveDataSourceConfig(object owner);

SaveDataSourceConfig(Out)

public void SaveDataSourceConfig(out string configData);

Parameters

Parameter Description
configData A string into which the config file content will be written when the method is called.
owner An object that represents the top-level window that will own the modal dialog box.