共用方式為


SqlCeResultSet.Sensitivity Property

Determines the sensitivity of the SqlCeResultSet.

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

Syntax

'Declaration
Public ReadOnly Property Sensitivity As ResultSetSensitivity
'Usage
Dim instance As SqlCeResultSet
Dim value As ResultSetSensitivity

value = instance.Sensitivity
public ResultSetSensitivity Sensitivity { get; }
public:
property ResultSetSensitivity Sensitivity {
    ResultSetSensitivity get ();
}
/** @property */
public ResultSetSensitivity get_Sensitivity ()
public function get Sensitivity () : ResultSetSensitivity
Not applicable.

Property Value

The ResultSetSensitivity for the SqlCeResultSet.

Remarks

The sensitivity of the SqlCeResultSet indicates whether the SqlCeResultSet is aware of changes to the data source. A SqlCeResultSet that is sensitive is aware of changes; an insensitive SqlCeResultSet is unaware of changes. If no sensitivity is set, the SqlCeResultSet is asensitive and will use the optimal configuration based on other 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

SqlCeResultSet Class
SqlCeResultSet Members
System.Data.SqlServerCe Namespace