Exemple #1
0
        /// <summary>
        /// Closes this Row and frees associated resources.
        /// </summary>
        public void Close()
        {
            if (m_Handle != IntPtr.Zero)
            {
                Int32 result = API.TabTableDefinitionClose(m_Handle);
                m_Handle = IntPtr.Zero;

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