共用方式為


ResultSetSensitivity Enumeration

Sets the sensitivity of the ResultSetEnumerator.

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

Syntax

'Declaration
Public Enumeration ResultSetSensitivity
'Usage
Dim instance As ResultSetSensitivity
public enum ResultSetSensitivity
public enum class ResultSetSensitivity
public enum ResultSetSensitivity
public enum ResultSetSensitivity

Members

  Member name Description
Supported by the .NET Compact Framework Asensitive No sensitivity is set for the ResultSet. 
Supported by the .NET Compact Framework Insensitive The ResultSet does not detect changes made to the data source. 
Supported by the .NET Compact Framework Sensitive The ResultSet detects changes made to the data source. 

Remarks

The sensitivity of the ResultSet indicates whether the ResultSet is aware of changes to the data source. A ResultSet that is sensitive is aware of changes; an insensitive ResultSet is unaware of changes. An asensitive ResultSet is neither sensitive nor insensitive, and instead uses the optimal configuration based on other ResultSet settings.

The default value is asensitive.

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