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: 12.0.0
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