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

In This Topic
    Graphic Property
    In This Topic
    Specifies if GRAPHIC (double-byte character) is returned as a supported SQL data type and what unit is used to report GRAPHIC column length.
    Syntax
    'Declaration
     
    Public Property Graphic As Integer
    public int Graphic {get; set;}

    Property Value

    An integer value from 0 to 3.
    Remarks

    Available modes:

    Value Description
    0 GRAPHIC is not returned as a supported SQL data type, and the reported length of GRAPHIC columns equals the maximum number of DBCS characters in the column. (Default value)
    1 GRAPHIC is returned as a supported SQL data type, and the reported length of GRAPHIC columns equals the maximum number of DBCS characters in the column.
    2 GRAPHIC is not returned as a supported SQL data type, and the reported length of GRAPHIC columns equals the maximum number of bytes in the column.
    3 GRAPHIC is returned as a supported SQL data type, and the reported length of GRAPHIC columns equals the maximum number of bytes in the column.
    See Also