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