SqlConnectionStringBuilder.TypeSystemVersion Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a string value that indicates the type system the application expects.
public:
property System::String ^ TypeSystemVersion { System::String ^ get(); void set(System::String ^ value); };
public string TypeSystemVersion { get; set; }
member this.TypeSystemVersion : string with get, set
Public Property TypeSystemVersion As String
The following table shows the possible values for the TypeSystemVersion property:
Value | Description |
---|---|
SQL Server 2005 | Uses the SQL Server 2005 type system. No conversions are made for the current version of ADO.NET. |
SQL Server 2008 | Uses the SQL Server 2008 type system. |
Latest | Use the latest version than this client-server pair can handle. This will automatically move forward as the client and server components are upgraded. |
The TypeSystemVersion
property can be used to specify a down-level version of SQL Server for applications written against that version. This avoids possible problems with incompatible types in a newer version of SQL Server that may cause the application to break.
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: