skip to main content
Connection property descriptions : ServerName
  

Try DataDirect Drivers Now

ServerName

Purpose

Specifies the name or IP address of the server to which you want to connect.

Valid values

IP_address | named_server | named_instance | virtual_network_name
where:
IP_address
is the IP address of the server to which you want to connect. For example, you can enter 199.226.224.34. The IP address can be specified in either IPv4 or IPv6 format, or a combination of the two. See Using IP addresses for details about these formats.
named_server
is the named server address of the server to which you want to connect. For example, you can enter MyServer.
named_instance
is a named instance of Microsoft SQL Server. The named instance should be specified as server_name\\instance_name, where server_name is the IP address and instance_name is the name of the instance to which you want to connect on the specified server. For example, server1\\instance1.
virtual_network_name
is the virtual network name (VNN) of the availability group listener when using an Always On Availability Group.

Data source method

setServerName

Default

None

Data type

String

See also

Connecting to named instances