3 references to MAXLEN_HOSTNAME
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (2)
372
ValidateValueLength(_workstationId, TdsEnums.
MAXLEN_HOSTNAME
, KEY.Workstation_Id);
713
ValidateValueLength(result, TdsEnums.
MAXLEN_HOSTNAME
, KEY.Workstation_Id);
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
7111
Debug.Assert(TdsEnums.
MAXLEN_HOSTNAME
>=rec.hostName.Length, "_workstationId.Length exceeds the max length for this value");