Share via


SqlCeResultSet.Updatable Property

Determines whether values within the SqlCeResultSet can be modified.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public ReadOnly Property Updatable As Boolean
    Get
'Usage
Dim instance As SqlCeResultSet
Dim value As Boolean

value = instance.Updatable
public bool Updatable { get; }
public:
property bool Updatable {
    bool get ();
}
member Updatable : bool
function get Updatable () : boolean

Property Value

Type: System.Boolean
True if the values in the record can be modified; otherwise, false;

Remarks

The default value is false.

Important

Even if a SqlCeResultSet is marked as read-only (that is, Updatable is set to false), the columns will be marked as updateable in the Schema Table. Therefore, calls to any of the SqlCeResultSet.Setx methods will fail because the columns are updateable, but the SqlCeResultSet is not.

See Also

Reference

SqlCeResultSet Class

System.Data.SqlServerCe Namespace