IConnectionStorageService.SaveConnection(String, IDataConnection, Boolean) Method
Saves the specified data connection.
Namespace: DevExpress.DataAccess.Wizard.Services
Assembly: DevExpress.DataAccess.v24.1.dll
NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap
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