Example #1
0
        private static extern RCODE xflaim_Db_indexStatus(
			IntPtr					pDb,
			uint						uiIndex,
			CS_XFLM_INDEX_STATUS	pIndexStatus);
Example #2
0
        //-----------------------------------------------------------------------------
        //    indexStatus
        //-----------------------------------------------------------------------------
        /// <summary>
        /// Retrieves index status information
        /// </summary>
        /// <param name="uiIndex">
        /// Index whose status is to be returned
        /// </param>
        /// <returns>An instance of a <see cref="CS_XFLM_INDEX_STATUS"/> object.</returns>
        public CS_XFLM_INDEX_STATUS indexStatus(
			uint	uiIndex)
        {
            RCODE							rc;
            CS_XFLM_INDEX_STATUS		indexStatus = new CS_XFLM_INDEX_STATUS();

            if ((rc = xflaim_Db_indexStatus( m_pDb, uiIndex, indexStatus)) != 0)
            {
                throw new XFlaimException(rc);
            }

            return( indexStatus);
        }