DB2 Version 9.7 for Linux, UNIX, and Windows

DB2ConnectionStringBuilder.FitHighPrecisionType Property

Gets or sets the type of precision to be used:

Namespace:
IBM.Data.DB2
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax

[Visual Basic]
Public Property FitHighPrecisionType As String
[C#]
public string FitHighPrecisionType {get; set;}
[C++]
public: __property String* get_Authentication();
public: __property void set_FitHighPrecisionType(String*);
[JScript]
public function get Authentication(): String;
public function set FitHighPrecisionType(String);

Property value

FitHighPrecisionType supports the following set of string values:

WithTruncate - Results in returning a .NET system type after silently truncating the column value if needed.
AsString- Results in converting the column to a .NET string type.
ReturnException - Results in a truncation exception if the value does not fit in the .NET system type.

Version information

Last update
This property is supported as of Version 9.7 Fix Pack 4
.NET Framework version
Supported in: 2.0 , 3.0, 3.5 and 4.0
IBM Data Server Client
Supported in: IBM DB2 Version 9.7