skip to main content
DataDirect Connect Drivers : Microsoft SQL Server Driver : Connection Properties : ServerName
  
ServerName
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. See Using IP Addresses for more information about using IP addresses.
This property is supported only for data source connections.
Valid Values
string
where:
string
is a valid IP address or server name.
Notes
*To connect to a named instance, specify server_name\\instance_name for this property, 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.
Example
122.23.15.12 or SQLServerServer
Default
None
Data Type
String
See also
Connecting to Named Instances