virtual bool CORow::AddColumns(ULONG nCols, const DBCOLUMNINFO pNewColInfo[], DBCOLUMNACCESS *pDBColAccess=NULL);

Return Value

        true if successful; otherwise false.

Parameters

        [in] nCols:

                Count of columns specified in the pNewColInfo array.

        [in] pNewColInfo:

                A pointer to a consumer-allocated array of nCols DBCOLUMNINFO structures defining the additional columns to be added to the row object.

        [in/out] pDBColAccess:

                A pointer to an optional consumer-allocated array of nCols DBCOLUMNACCESS structures.

Remark

        Creates or sets the values of an array of specified columns of a row object. If the columns do not already exist, they are created. Refers to IRowSchemaChange::AddColumns.

CORow Class Overview & Class Members