validateConnectionSettings()

Overview

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

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

Arguments

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