SettingsHelperSetConnectionString Method |
Sets or adds the specified connection string in the ConnectionStrings section for web application.
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntax public static bool SetConnectionString(
string name,
string connectionString
)
Parameters
- name
- Type: SystemString
ConnectionString name - connectionString
- Type: SystemString
Connection string
Return Value
Type:
BooleanSee Also