4 references to MAXLEN_SERVERNAME
System.Data (4)
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (3)
366
ValidateValueLength(_dataSource, TdsEnums.
MAXLEN_SERVERNAME
, KEY.Data_Source);
367
ValidateValueLength(_failoverPartner, TdsEnums.
MAXLEN_SERVERNAME
, KEY.FailoverPartner);
534
ValidateValueLength(_dataSource, TdsEnums.
MAXLEN_SERVERNAME
, KEY.Data_Source);
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
7127
Debug.Assert(TdsEnums.
MAXLEN_SERVERNAME
>=rec.serverName.Length, "_dataSource.Length exceeds the max length for this value");