dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2Parameter Class / DB2Type Property

In This Topic
    DB2Type Property
    In This Topic
    Gets or sets the DB2Type of the parameter.
    Syntax
    'Declaration
     
    Public Property DB2Type As DB2Type
    public DB2Type DB2Type {get; set;}

    Property Value

    A DB2Type value that is the DB2Type of the parameter.
    Remarks
    The DB2Type and DbType are linked. Therefore, setting the DbType changes the DB2Type to a supporting DB2Type.

    For a list of the supported data types, see the appropriate DB2Type member. For more information, see "Using Parameters with a DataAdapter" in the Microsoft .NET Framework SDK documentation.

    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