Api.IntersectIndexes 方法
與索引範圍群組交集,並傳回所有索引範圍中找到的記錄書簽。 另請參閱 JetIntersectIndexes (JET_SESID、[]、Int32、JET_RECORDLIST、IntersectIndexesGrbit) 。
Namespace:Microsoft.Isam.Esent.Interop
裝配: microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
語法
'Declaration
Public Shared Function IntersectIndexes ( _
sesid As JET_SESID, _
ParamArray tableids As JET_TABLEID() _
) As IEnumerable(Of Byte())
'Usage
Dim sesid As JET_SESID
Dim tableids As JET_TABLEID()
Dim returnValue As IEnumerable(Of Byte())
returnValue = Api.IntersectIndexes(sesid, _
tableids)
public static IEnumerable<byte[]> IntersectIndexes(
JET_SESID sesid,
params JET_TABLEID[] tableids
)
參數
sesid
類型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的會話。
tableids
類型: []要使用的 tableids。 每個 tableid 都必須來自相同資料表上的不同索引,而且具有使用中的索引範圍。 使用 JetSetIndexRange (JET_SESID、JET_TABLEID、SetIndexRangeGrbit) 來建立索引範圍。
傳回值
類型:System.Collections.Generic.IEnumerable< []>
所有索引範圍中找到之記錄的書簽。 書簽會以主鍵順序傳回。
另請參閱
參考
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應