Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7905025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T10:18:01+00:00 2026-06-03T10:18:01+00:00

What Type System Version (Compatibility Level) token can I specify in ADO.NET connection string

  • 0

What Type System Version (Compatibility Level) token can I specify in ADO.NET connection string to indicate that only SQL Server 2012 is supported?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T10:18:02+00:00Added an answer on June 3, 2026 at 10:18 am

    According to this it will be “SQL Server 2012”. While the page is for the .NET framework 4.5 and thus still pre release, given the other possible values for the parameter, it is safe to assume that this value will stand.

    Having that said, I don’t know if any .NET version below 4.5 will even accept that value as valid. I’m not at a computer right now, so I cannot check, sorry.

    EDIT It looks as if this value is indeed parsed/checked on the client side, i.e. inside System.Data. Looking with Reflector, it happens in SqlConnectionString.SqlConnectionString(string connectionString). Also, there is an enumeration SqlConnectionString.TypeSystem which names all the known/supported values. For .NET 4.0 that would be SqlServer2000, SqlServer2005, SqlServer2008 and Latest. This value is the passed around inside the System.Data.SqlClient classes and ends up being used somewhere inside SqlDataReader.

    So, unless you use Latest which would use but not force SQL Server 2012, there is no way to force SQL Server 2012 type system with .NET < 4.5.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I look at the members of the .NET type System.Version it might be
Hindley-Milner is a type system that is the basis of the type systems of
I thought that in principle Haskell's type system would forbid calls to impure functions
I've got an object that uses System.Version as a property. I want this object
Today I discovered something that makes me sad: objects of type System.Generic.Collections.List don't have
When I map an entity that has a property of type System.Type, I know
We have a registration-type system that sends a confirmation e-mail once completed. The system
Unable to cast object type System.Collections.Generic.List 1[NorthwindMVC3.Models.Product] to the type ofSystem.Collections.Generic.IEnumerator 1[NorthwindMVC3.Models.Product].\ public IEnumerator<Product>
An unhandled exception of type 'System.StackOverflowException' occurred in wcfserviceLibrary.DLL the code is show as
An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll Additional information: 'Provide value on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.