Skip to content

Latest commit

 

History

History
98 lines (74 loc) · 2.58 KB

api.trysetindexrange-method.md

File metadata and controls

98 lines (74 loc) · 2.58 KB
description title TOCTitle ms:assetid ms:mtpsurl ms:contentKeyID ms.date ms.topic f1_keywords dev_langs api_name topic_type api_type api_location ROBOTS
Learn more about: Api.TrySetIndexRange method
Api.TrySetIndexRange method
TrySetIndexRange method
M:Microsoft.Isam.Esent.Interop.Api.TrySetIndexRange(Microsoft.Isam.Esent.Interop.JET_SESID,Microsoft.Isam.Esent.Interop.JET_TABLEID,Microsoft.Isam.Esent.Interop.SetIndexRangeGrbit)
55100893
07/30/2014
reference
Microsoft.Isam.Esent.Interop.Api.TrySetIndexRange
CSharp
JScript
VB
other
Microsoft.Isam.Esent.Interop.Api.TrySetIndexRange
apiref
kbSyntax
Managed
Microsoft.Isam.Esent.Interop.dll
INDEX,FOLLOW

Api.TrySetIndexRange method

Temporarily limits the set of index entries that the cursor can walk using JetMove to those starting from the current index entry and ending at the index entry that matches the search criteria specified by the search key in that cursor and the specified bound criteria. A search key must have been previously constructed using JetMakeKey. Returns true if the index range is non-empty, false otherwise.

Namespace:  Microsoft.Isam.Esent.Interop
Assembly:  Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

Syntax

'Declaration
Public Shared Function TrySetIndexRange ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    grbit As SetIndexRangeGrbit _
) As Boolean
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim grbit As SetIndexRangeGrbit
Dim returnValue As Boolean

returnValue = Api.TrySetIndexRange(sesid, _
    tableid, grbit)
public static bool TrySetIndexRange(
    JET_SESID sesid,
    JET_TABLEID tableid,
    SetIndexRangeGrbit grbit
)

Parameters

Return value

Type: System.Boolean
True if the seek was successful.

See also

Reference

Api class

Api members

Microsoft.Isam.Esent.Interop namespace