Skip to main content
A newer version of this page is available. .

IConnectionStorageService.SaveConnection(String, IDataConnection, Boolean) Method

Saves the specified data connection.

Namespace: DevExpress.DataAccess.Wizard.Services

Assembly: DevExpress.DataAccess.v18.2.dll

Declaration

void SaveConnection(
    string connectionName,
    IDataConnection connection,
    bool saveCredentials
)

Parameters

Name Type Description
connectionName String

A String value, specifying the connection name.

connection IDataConnection

An object implementing the IDataConnection interface.

saveCredentials Boolean

true to save the user credentials along with the data connection settings; false to only save the data connection settings.

See Also