Partilhar via


DbSeekOptions Enumeration

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Options that specify how to Seek on an index.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

  [Visual Basic]
<Flags>
<Serializable>
Public Enum DbSeekOptions
[C#]
[Flags]
[Serializable]
public enum DbSeekOptions
[C++]
[Flags]
[Serializable]
__value public enum DbSeekOptions
[JScript]
public
   Flags
 Serializable
enum DbSeekOptions

Members

Member name Description Value
After

Supported only by the .NET Compact Framework.

Advances to the first row with values after the seek value, in index order. 8
AfterEqual

Supported only by the .NET Compact Framework.

Advances to the last matching row on the index. If there are no matching rows, advances to the first row with values after the seek value, in index order. 4
Before

Supported only by the .NET Compact Framework.

Advances to the last row with values before the seek value, in index order. 32
BeforeEqual

Supported only by the .NET Compact Framework.

Advances to the first matching row on the index. If there are no matching rows, advances to the last row with values before the seek value, in index order. 16
FirstEqual

Supported only by the .NET Compact Framework.

Advances to the first matching row on the index, in index order. 1
LastEqual

Supported only by the .NET Compact Framework.

Advances to the last matching row on the index, in index order. 2

Requirements

Namespace: System.Data.SqlServerCe

Platforms: .NET Compact Framework

Assembly: System.Data.Sqlserverce (in System.Data.Sqlserverce.dll)

See Also

System.Data.SqlServerCe Namespace

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.