validateConnectionSettings()

Overview

public string function validateConnectionSettings(
      required string  host      
    , required numeric port      
    ,          string  username   = ""
    ,          string  password   = ""
    ,          string  encryption = "none"
)

Validates the supplied connection settings Returns empty string on success, detailed server error message otherwise.

Arguments

NameTypeRequiredDescription
hoststringYes
portnumericYes
usernamestringNo (default="")
passwordstringNo (default="")
encryptionstringNo (default="none")