ConnectionHelperTestConnection Method (SQLServerAuthenticationModeEnum, String, String, String, String) |
Tests the given connection parameters.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax 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:
StringSee Also