virtual bool COSessionEx::CreateTable(LPOLESTR strTblName, ULONG nCols, const CColInfo pColInfo[], DBID **ppTableID=NULL);

Return Value

        true if successful; otherwise false.

Parameters

        [in] strTblName:

                A unicode string indicating a table name.

        [in] nCols:

                The count of CColInfo structures in pColInfo. For the structure of CColInfo, click here.

        [out] ppTableID:

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

Remark

        Creates a table in a data source. For how to use it, see the example MkTblsEx.

COSessionEx Class Overview & Class Members