10 references to NegotiatedSmiVersion
System.Data (10)
fx\src\data\Microsoft\SqlServer\Server\SqlDataRecord.cs (1)
653
return InOutOfProcHelper.InProc ? SmiContextFactory.Instance.
NegotiatedSmiVersion
: SmiContextFactory.LatestVersion;
fx\src\data\Microsoft\SqlServer\Server\sqlpipe.cs (3)
137
if (SmiContextFactory.Instance.
NegotiatedSmiVersion
>= SmiContextFactory.KatmaiVersion) {
182
if (SmiContextFactory.Instance.
NegotiatedSmiVersion
>= SmiContextFactory.KatmaiVersion) {
269
if (SmiContextFactory.Instance.
NegotiatedSmiVersion
>= SmiContextFactory.KatmaiVersion) {
fx\src\data\System\Data\SqlClient\SqlCommand.cs (5)
354
Debug.Assert(SmiContextFactory.Instance.
NegotiatedSmiVersion
>= SmiContextFactory.YukonVersion);
366
Debug.Assert(SmiContextFactory.Instance.
NegotiatedSmiVersion
>= SmiContextFactory.KatmaiVersion);
3166
if (SmiContextFactory.Instance.
NegotiatedSmiVersion
>= SmiContextFactory.KatmaiVersion) {
4600
if (SmiContextFactory.Instance.
NegotiatedSmiVersion
>= SmiContextFactory.KatmaiVersion) {
6255
ExtendedClrTypeCode typeCode = MetaDataUtilsSmi.DetermineExtendedTypeCodeForUseWithSqlDbType(requestMetaData[index].SqlDbType, requestMetaData[index].IsMultiValued, value, null /* parameters don't use CLR Type for UDTs */, SmiContextFactory.Instance.
NegotiatedSmiVersion
);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionSmi.cs (1)
171
return SmiContextFactory.Instance.
NegotiatedSmiVersion
>= SmiContextFactory.KatmaiVersion;