DB2®ConnectionStringBuilder.MapTime Property
Gets or sets the value indicating whether the TIME 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 MapTime As int
[C#]
public int MapTime {get; set;}
[C++]
public: __property int* get_MapTime();
public: __property void set_MapTime(int*);
[JScript]
public function get MapTime() : int;
public function set MapTime(int);
Property value
An integer (0, 1, or 2)
representing the mapping mode. The MapDate keyword is used to indicate
whether the TIME types should be reported as a different
data type.
Set the MapDate keyword as follows:
- 0 - No mapping is performed. Report
TIMEasTIME. (Default) - 1 - Report
TIMEasSQL_CHAR. - 2 - Report
TIMEasSQL_WCHAR.