Condividi tramite


SqlCeCommand.UpdatedRowSource Property

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

Gets or sets how command results are applied to the DataRow when used by the Update method of the DbDataAdapter. This property should not be used with the .NET Compact Framework data provider for SQL Server CE.

  [Visual Basic]
  Public Overridable Property UpdatedRowSource As UpdateRowSource  _
   Implements IDbCommand.UpdatedRowSource
[C#]
public virtual UpdateRowSource UpdatedRowSource {get; set;}
[C++]
public: __property virtual UpdateRowSource get_UpdatedRowSource();
public: __property virtual void set_UpdatedRowSource(UpdateRowSource);
[JScript]
public function get UpdatedRowSource() : UpdateRowSource;
public function set UpdatedRowSource(UpdateRowSource);

Property Value

One of the UpdateRowSource values. The default is Both. If the command is automatically generated, the default is None.

Implements

IDbCommand.UpdatedRowSource

Exceptions

Exception Type Condition
ArgumentException The value entered was not one of the UpdateRowSource values.

Requirements

Platforms: .NET Compact Framework

.NET Framework Security:

See Also

SqlCeCommand Class | SqlCeCommand Members | 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.