Windows8Api.JetCreateIndex4 方法
基于 ESE 数据库中的数据创建索引。
Namespace:Microsoft.Isam.Esent.Interop.Windows8
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (
语法
'Declaration
Public Shared Sub JetCreateIndex4 ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
indexcreates As JET_INDEXCREATE(), _
numIndexCreates As Integer _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim indexcreates As JET_INDEXCREATE()
Dim numIndexCreates As IntegerWindows8Api.JetCreateIndex4(sesid, tableid, _
indexcreates, numIndexCreates)
public static void JetCreateIndex4(
JET_SESID sesid,
JET_TABLEID tableid,
JET_INDEXCREATE[] indexcreates,
int numIndexCreates
)
parameters
sesid
类型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的会话。
tableid
类型: Microsoft.Isam.Esent.Interop.JET_TABLEID要创建索引的表。
indexcreates
类型:[]描述要创建的索引的 对象的数组。
numIndexCreates
类型: System.Int32索引说明对象数。
备注
(创建多个索引时,即使用 numIndexCreates 大于 1) 必须在任何事务外部调用此方法,并且必须具有对表的独占访问权限。 “Api.JetCreateTable”返回的JET_TABLEID将具有访问权限,或者可以通过将 DenyRead 传递给 JetOpenTable (JET_SESID、JET_DBID、String、[]、Int32、OpenTableGrbit JET_TABLEID) 来打开表进行独占访问。
另请参阅
参考
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈