Api.JetCreateIndex メソッド

ESE データベース内のデータに対してインデックスを作成します。 インデックスを使用すると、特定のデータをすばやく検索できます。

Namespace:Microsoft.Isam.Esent.Interop
アセンブリ: Microsoft.Isam.Esent.Interop (Microsoft.Isam.Esent.Interop.dll)

構文

'Declaration
Public Shared Sub JetCreateIndex ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    indexName As String, _
    grbit As CreateIndexGrbit, _
    keyDescription As String, _
    keyDescriptionLength As Integer, _
    density As Integer _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim indexName As String
Dim grbit As CreateIndexGrbit
Dim keyDescription As String
Dim keyDescriptionLength As Integer
Dim density As IntegerApi.JetCreateIndex(sesid, tableid, _
    indexName, grbit, keyDescription, _
    keyDescriptionLength, density)
public static void JetCreateIndex(
    JET_SESID sesid,
    JET_TABLEID tableid,
    string indexName,
    CreateIndexGrbit grbit,
    string keyDescription,
    int keyDescriptionLength,
    int density
)

パラメーター

  • indexName
    型: System.String

    作成するインデックスの名前を指定する null で終わる文字列へのポインター。

  • keyDescription
    型: System.String

    null で区切られたトークンの 2 つの null で終わる文字列へのポインター。

  • keyDescriptionLength
    型: System.Int32

    2 つの終端の null を含む szKey の長さ (文字数)。

  • 密度 (density)
    型: System.Int32

    初期の B+ ツリー密度。

関連項目

リファレンス

Api クラス

API メンバー

Microsoft.Isam.Esent.Interop 名前空間