14 references to DataSource
System.Data (14)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (1)
766if (ADP.IsAzureSqlServerEndpoint(poolGroupConnectionOptions.DataSource))
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
362if (_connectRetryCount == 1 && ADP.IsAzureSqlServerEndpoint(connString.DataSource)) 657result = ((null != constr) ? constr.DataSource : SqlConnectionString.DEFAULT.Data_Source);
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (1)
94SqlConnectionString sseopt = new SqlConnectionString(opt, opt.DataSource, true /* user instance=true */, false /* set Enlist = false */);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (7)
1666Boolean isAzureEndPoint = ADP.IsAzureSqlServerEndpoint(connectionOptions.DataSource); 1867if (!ADP.IsAzureSqlServerEndpoint(connectionOptions.DataSource) && IsConnectionDoomed) { 2386serverName: ConnectionOptions.DataSource, 2452sqlErs.Add(new SqlError(0, (byte)0x00, (byte)TdsEnums.MIN_ERROR_CLASS, ConnectionOptions.DataSource, Res.GetString(Res.SQL_ADALFailure, username, ConnectionOptions.Authentication.ToString("G")), ActiveDirectoryAuthentication.AdalGetAccessTokenFunctionName, 0)); 2456sqlErs.Add(new SqlError(0, (byte)0x00, (byte)TdsEnums.MIN_ERROR_CLASS, ConnectionOptions.DataSource, errorMessage1, ActiveDirectoryAuthentication.AdalGetAccessTokenFunctionName, 0)); 2460sqlErs.Add(new SqlError(0, (byte)0x00, (byte)TdsEnums.MIN_ERROR_CLASS, ConnectionOptions.DataSource, adalException.Message, ActiveDirectoryAuthentication.AdalGetAccessTokenFunctionName, 0)); 2709internal ServerInfo(SqlConnectionString userOptions) : this(userOptions, userOptions.DataSource) {}
fx\src\data\System\Data\SqlClient\TdsParser.cs (3)
5351byte[] unencryptedBytes = SqlSecurityUtility.DecryptWithKey(b, md.cipherMD, _connHandler.ConnectionOptions.DataSource); 8271encryptedValue = SqlSecurityUtility.EncryptWithKey(serializedValue, param.CipherMetadata, _connHandler.ConnectionOptions.DataSource); 9486_connHandler.ConnectionOptions.DataSource);