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

In This Topic
    EnsureDefaultDFRM Property
    In This Topic
    Specifies whether the Open method will attempt to explicitly set the rounding mode to ROUND_HALF_EVEN.
    Syntax
    'Declaration
     
    Public Property EnsureDefaultDFRM As Boolean
    public bool EnsureDefaultDFRM {get; set;}

    Property Value

    If true the Open method will attempt to explicitly set the rounding mode to ROUND_HALF_EVEN. If the database rounding mode is not ROUND_HALF_EVEN, then the Open() call will throw a DB2RoundingModeException but the connection will remain open. Default value is false.
    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