public sealed class Host
Host(String, Int32) | Initialize host. |
Host(String, String, Int32) | Initialize host. |
Equals |
Return if hosts are equal.
(Overrides Object.Equals(Object)) |
GetHashCode |
Return host address hash code.
(Overrides Object.GetHashCode()) |
ParseHosts |
Parse hosts from string format: hostname1[:tlsname1][:port1],...
Hostname may also be an IP address in the following formats.
IPv6 addresses must be enclosed by brackets. tlsname and port are optional. |
ParseServiceHosts |
Parse server service hosts from string format: hostname1:port1,...
Hostname may also be an IP address in the following formats.
|
ToString |
Convert host name and port to string.
(Overrides Object.ToString()) |
name | Host name or IP address of database server. |
port | Port of database server. |
tlsName | TLS certificate name used for secure connections. The certificate must exist in your Trusted Root Certification repository. See: Trusted Root Certification |