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
Name | Type | Required | Description |
---|---|---|---|
host | string | Yes | |
port | numeric | Yes | |
username | string | No (default="") | |
password | string | No (default="") |