IConnectionStorageService.SaveConnection(String, IDataConnection, Boolean) Method
In This Article
Saves the specified data connection.
Namespace: DevExpress.DataAccess.Wizard.Services
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#Declaration
void SaveConnection(
string connectionName,
IDataConnection connection,
bool saveCredentials
)
#Parameters
Name | Type | Description |
---|---|---|
connection |
String | A String value, specifying the connection name. |
connection | IData |
An object implementing the IData |
save |
Boolean | true to save the user credentials along with the data connection settings; false to only save the data connection settings. |
See Also