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