virtual bool COSessionEx::AddColumn(LPOLESTR strTblName, const CColInfo& ColInfo, DBID **ppColID=NULL);

Return Value

        true if successful; otherwise false.

Parameters

        [in] strTblName:

                A unicode string indicating a table name.

        [in] ColInfo:

                A CColInfo structure to describe a column. For the structure of CColInfo, click here.

        [out] ppColID:

                A pointer to memory in which to return a pointer to the DBID of a newly created column. If ppColID is a null pointer, no DBID is returned.

Remark

        Creates a column in the base table. For how to use it, see the example MkTblsEx.

COSessionEx Class Overview & Class Members