The Host type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| Host(String, Int32) |
Initialize host.
| |
| Host(String, String, Int32) |
Initialize host.
|
Methods
| Name | Description | |
|---|---|---|
| Equals |
Return if hosts are equal.
(Overrides | |
| GetHashCode |
Return host address hash code.
(Overrides | |
| 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. | |
| ToString |
Convert host name and port to string.
(Overrides |
Fields
| Name | Description | |
|---|---|---|
| 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: |
See Also