共用方式為


ResultSetOptions Enumeration

Sets options for the ResultSetEnumerator.

Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration ResultSetOptions
'Usage
Dim instance As ResultSetOptions
[FlagsAttribute] 
public enum ResultSetOptions
[FlagsAttribute] 
public enum class ResultSetOptions
/** @attribute FlagsAttribute() */ 
public enum ResultSetOptions
FlagsAttribute 
public enum ResultSetOptions

Members

  Member name Description
Supported by the .NET Compact Framework Insensitive The ResultSet does not detect changes made to the data source.  
Supported by the .NET Compact Framework None No ResultSet options are specified. 
Supported by the .NET Compact Framework Scrollable The ResultSet can be scrolled both forward and backward. 
Supported by the .NET Compact Framework Sensitive The ResultSet detects changes made to the data source. 
Supported by the .NET Compact Framework Updatable The ResultSet allows updates. 

Remarks

If you do not set both the Insensitive and Sensitive settings, the ResultSet is Asensitive and will use the fastest cursor based on the other options specified.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

.NET Compact Framework

Supported in: 2.0

See Also

Reference

System.Data.SqlServerCe Namespace