Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SqlConnectionStringBuilder::TypeSystemVersion Property

 

Gets or sets a string value that indicates the type system the application expects.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public:
property String^ TypeSystemVersion {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft