2 writes to HasPasswordKeyword
System.Data (2)
fx\src\data\System\Data\Common\DbConnectionOptions.cs (2)
147
HasPasswordKeyword
= (_parsetable.ContainsKey(KEY.Password) || _parsetable.ContainsKey(SYNONYM.Pwd));
154
HasPasswordKeyword
= connectionOptions.HasPasswordKeyword;
8 references to HasPasswordKeyword
System.Data (8)
fx\src\data\System\Data\Common\DbConnectionOptions.cs (3)
154
HasPasswordKeyword = connectionOptions.
HasPasswordKeyword
;
168
if (
HasPasswordKeyword
&& (forceHidePassword || (hidePassword && !HasPersistablePassword))) {
196
if (
HasPasswordKeyword
) {
fx\src\data\System\Data\Common\DBConnectionString.cs (1)
87
_hasPassword = connectionOptions.
HasPasswordKeyword
;
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1523
(!connectionOptions.HasUserIdKeyword || !connectionOptions.
HasPasswordKeyword
) &&
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (2)
471
if (Authentication == SqlClient.SqlAuthenticationMethod.ActiveDirectoryIntegrated && (HasUserIdKeyword ||
HasPasswordKeyword
)) {
479
if (Authentication == SqlAuthenticationMethod.ActiveDirectoryInteractive &&
HasPasswordKeyword
) {
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
2201
Debug.Assert((ConnectionOptions.HasUserIdKeyword && ConnectionOptions.
HasPasswordKeyword
)