ServerName
- Last Updated: November 15, 2021
- 1 minute read
- DataDirect Connectors
- JDBC
- Amazon Redshift 6.0
- Documentation
Purpose
Specifies either the IP address in IPv4 or IPv6 format, or the server name (if your network supports named servers) of the primary database server.
This property is supported only for data source connections.
Valid Values
string
where:
- string
- is a valid IP address or server name.
Example
122.23.15.12 or MyRedshiftServer
Note: When specifying IPv6 addresses in a connection URL or data source property, the address
must be enclosed by brackets.
Data Source Method
public String getServerName()
public void setServerName(String)
Default
No default value
Data Type
String