dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2ConnectionStringBuilder Class / MapDate Property

MapDate Property
Defines whether the DATE types should be reported as a different data type.
Syntax
'Declaration
 
Public Property MapDate As Integer
 

Property Value

An integer (0, 1, or 2) representing the mapping mode.
Remarks

Available modes:

Value Description
0 No mapping is performed. DATE is reported as DATE. (Default value)
1 DATE is reported as SQL_CHAR.
2 DATE is reported as SQL_WCHAR.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also