Api.JetGetCurrentIndex 方法
确定给定游标的当前索引的名称。 此名称还用于稍后使用 JetSetCurrentIndex (JET_SESID、JET_TABLEID、String) 重新选择该索引作为当前索引。 它还可用于使用 JetGetTableIndexInfo 发现该索引的属性。
Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (
语法
'Declaration
Public Shared Sub JetGetCurrentIndex ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
<OutAttribute> ByRef indexName As String, _
maxNameLength As Integer _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim indexName As String
Dim maxNameLength As IntegerApi.JetGetCurrentIndex(sesid, tableid, _
indexName, maxNameLength)
public static void JetGetCurrentIndex(
JET_SESID sesid,
JET_TABLEID tableid,
out string indexName,
int maxNameLength
)
parameters
sesid
类型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的会话。
tableid
类型: Microsoft.Isam.Esent.Interop.JET_TABLEID要获取其索引名称的游标。
indexName
类型: System.String返回索引的名称。
maxNameLength
类型: System.Int32索引名称的最大长度。 索引名称不超过 Name 最常用 字符。
另请参阅
参考
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈