Click or drag to resize
SettingsHelperSetConnectionString Method
Sets or adds the specified connection string in the ConnectionStrings section for web application.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 11.0.0
Syntax
C#
public static bool SetConnectionString(
	string name,
	string connectionString
)

Parameters

name
Type: SystemString
ConnectionString name
connectionString
Type: SystemString
Connection string

Return Value

Type: Boolean
See Also