3 writes to UserServerName
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (3)
2721
UserServerName
= (serverName ?? string.Empty); // ensure user server name is not null
2739
UserServerName
= string.Empty; // ensure user server name is not null
2742
UserServerName
= string.Format(CultureInfo.InvariantCulture, "{0},{1}", routing.ServerName, routing.Port);
11 references to UserServerName
System.Data (11)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (11)
1302
login.serverName = server.
UserServerName
;
1471
Bid.Trace("<sc.SqlInternalConnectionTds.LoginNoFailover|ADV> %d#, host=%ls\n", ObjectID, serverInfo.
UserServerName
);
1580
_routingDestination = serverInfo.
UserServerName
;
1661
CurrentDataSource = originalServerInfo.
UserServerName
;
1729
Bid.PutStr(primaryServerInfo.
UserServerName
);
1743
ResolveExtendedServerName(failoverServerInfo, !redirectedUserInstance && failoverHost != primaryServerInfo.
UserServerName
, connectionOptions);
1835
_routingDestination = currentServerInfo.
UserServerName
;
1913
CurrentDataSource = (useFailoverHost ? failoverHost : primaryServerInfo.
UserServerName
);
1918
string host = serverInfo.
UserServerName
;
1933
_currentSessionData._resolvedAliases.Add(serverInfo.
UserServerName
, new Tuple<string, string>(host, protocol));
2746
SetDerivedNames(UserProtocol,
UserServerName
);