DB2®ConnectionStringBuilder.MapTimestamp Property
Gets or sets the value indicating whether the TIMESTAMP types
should be reported as a different data type.
- Namespace:
IBM.Data.DB2- Assembly:
IBM.Data.DB2(inIBM.Data.DB2.dll)
Syntax
[Visual Basic]
Public Property MapTimestamp As int
[C#]
public int MapTimestamp {get; set;}
[C++]
public: __property int* get_MapTimestamp();
public: __property void set_MapTimestamp(int*);
[JScript]
public function get MapTimestamp() : int;
public function set MapTimestamp(int);
Property value
An integer (0, 1, or 2)
representing the mapping mode. The MapDate keyword is used to indicate
whether the TIMESTAMP types should be reported as
a different data type.
Set the MapDate keyword as follows:
- 0 - No mapping is performed. Report
TIMESTAMPasTIMESTAMP. (Default) - 1 - Report
TIMESTAMPasSQL_CHAR. - 2 - Report
TIMESTAMPasSQL_WCHAR.