DB2ConnectionStringBuilder.FitHighPrecisionType Property
Gets or sets a value
that indicates how the IBM® data
server provider for .NET converts the high precision data to the .NET
system types.
The high precision data includes Decfloat,
Timestamp, and Timestamp with Time Zone data.
- Namespace:
IBM.Data.DB2- Assembly:
IBM.Data.(inDB2IBM.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
The FitHighPrecisionType property can be set to one of the following values.
- WithTruncate
- Data is returned as a .NET system type that is the same as the type that is returned by the DB2DataReader.GetValue method on the column data. If the data is larger than the .NET system type, the data is truncated without any message.
- AsString
- Data is returned as a .NET string type. The data is the same as that are returned by the DB2DataReader.GetString method.
- ReturnException
- Data is returned as a .NET system type that is the same as the type that is returned by the DB2DataReader.GetValue method on the column data. If the data is larger than the .NET system type, a truncation exception is returned.