Click or drag to resize
ConnectionHelperTestConnection Method (SQLServerAuthenticationModeEnum, String, String, String, String)
Tests the given connection parameters.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static string TestConnection(
	SQLServerAuthenticationModeEnum authenticationMode,
	string serverName,
	string databaseName,
	string userName,
	string password
)

Parameters

authenticationMode
Type: CMS.DataEngineSQLServerAuthenticationModeEnum
Authentication type
serverName
Type: SystemString
Server name
databaseName
Type: SystemString
Database name
userName
Type: SystemString
User name
password
Type: SystemString
User password

Return Value

Type: String
See Also