Generates the connection string with the specified parameters.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- authenticationMode
- Type: CMS.DataEngine SQLServerAuthenticationModeEnum
Authentication type
- serverName
- Type: System String
Server name
- databaseName
- Type: System String
Database name
- userName
- Type: System String
User name
- password
- Type: System String
User password
- timeout
- Type: System Int32
Connection timeout
- htmlEncoded
- Type: System Boolean
Html encoded to be able to display it properly on the page
- language (Optional)
- Type: System String
Connection language
- azure (Optional)
- Type: System Boolean
Specifies whether connection string is for Windows Azure
Return Value
Type: StringSee Also