Share via


SqlConnectionStringBuilder.TypeSystemVersion Property

Definition

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

Property Value

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.

Remarks

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.

Applies to