Exemple #1
0
        /// <summary>
        /// Returns the number of columns in the table definition.
        /// </summary>
        /// <returns></returns>
        public Int32 GetColumnCount()
        {
            Int32 retval;
            Int32 result = API.TabTableDefinitionGetColumnCount(m_Handle, out retval);

            if (result != API.TAB_RESULT_Success)
            {
                throw new TableauException(ConvertEnum.FromResult(result), API.TabGetLastErrorMessage());
            }

            return(retval);
        }