Share via


Api.JetCreateIndex 메서드

ESE 데이터베이스의 데이터에 대한 인덱스 만들기 인덱스 를 사용하여 특정 데이터를 빠르게 찾을 수 있습니다.

네임스페이스: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로 구분된 토큰의 이중 null로 끝나는 문자열에 대한 포인터입니다.

  • keyDescriptionLength
    형식: System.Int32

    종료되는 두 null을 포함하여 szKey의 길이(문자)입니다.

  • 밀도(density)
    형식: System.Int32

    초기 B+ 트리 밀도입니다.

추가 정보

참조

Api 클래스

Api 멤버

Microsoft.Isam.Esent.Interop 네임스페이스