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

In This Topic
    MapTimestamp Property
    In This Topic
    Defines whether the TIMESTAMP types should be reported as a different data type.
    Syntax
    'Declaration
     
    Public Property MapTimestamp As Integer
    public int MapTimestamp {get; set;}

    Property Value

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

    Available modes:

    Value Description
    0 No mapping is performed. TIMESTAMP is reported as TIMESTAMP. (Default value)
    1 TIMESTAMP is reported as SQL_CHAR.
    2 TIMESTAMP is reported as SQL_CHAR.
    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