5 references to MAXLEN_PASSWORD
System.Data (5)
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (1)
369
ValidateValueLength(_password, TdsEnums.
MAXLEN_PASSWORD
, KEY.Password);
fx\src\data\System\Data\SqlClient\SqlCredential.cs (2)
48
if (password.Length > TdsEnums.
MAXLEN_PASSWORD
)
50
throw ADP.InvalidArgumentLength("password", TdsEnums.
MAXLEN_PASSWORD
);
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
7121
Debug.Assert(rec.password == null || (rec.password != null && TdsEnums.
MAXLEN_PASSWORD
>=rec.password.Length), "_password.Length exceeds the max length for this value");
7122
Debug.Assert(rec.credential == null || (rec.credential != null && TdsEnums.
MAXLEN_PASSWORD
>= rec.credential.Password.Length), "_credential.Password.Length exceeds the max length for this value");