//-----------------------------------------------------------------------
// 
//     Copyright (c) Microsoft Corporation.
// 
//-----------------------------------------------------------------------
namespace Microsoft.Isam.Esent.Interop
{
    using System;
    /// 
    /// API members that are marked as obsolete.
    /// 
    public static partial class Api
    {
        /// 
        /// Retrieves information about indexes on a table.
        /// 
        /// The session to use.
        /// The database to use.
        /// The name of the table to retrieve index information about.
        /// This parameter is ignored.
        /// Filled in with information about indexes on the table.
        [Obsolete("Use the overload that takes a JET_IdxInfo parameter, passing in JET_IdxInfo.List")]
        public static void JetGetIndexInfo(
                JET_SESID sesid,
                JET_DBID dbid,
                string tablename,
                string ignored,
                out JET_INDEXLIST indexlist)
        {
            Api.JetGetIndexInfo(sesid, dbid, tablename, ignored, out indexlist, JET_IdxInfo.List);
        }
        /// 
        /// Retrieves information about indexes on a table.
        /// 
        /// The session to use.
        /// The table to retrieve index information about.
        /// This parameter is ignored.
        /// Filled in with information about indexes on the table.
        [Obsolete("Use the overload that takes a JET_IdxInfo parameter, passing in JET_IdxInfo.List")]
        public static void JetGetTableIndexInfo(
                JET_SESID sesid,
                JET_TABLEID tableid,
                string indexname,
                out JET_INDEXLIST indexlist)
        {
            Api.JetGetTableIndexInfo(sesid, tableid, indexname, out indexlist, JET_IdxInfo.List);
        }
    }
}