Szerkesztés

Megosztás a következőn keresztül:


OleDbCommand.UpdatedRowSource Property

Definition

Gets or sets how command results are applied to the DataRow when used by the Update method of the OleDbDataAdapter.

public:
 virtual property System::Data::UpdateRowSource UpdatedRowSource { System::Data::UpdateRowSource get(); void set(System::Data::UpdateRowSource value); };
public:
 property System::Data::UpdateRowSource UpdatedRowSource { System::Data::UpdateRowSource get(); void set(System::Data::UpdateRowSource value); };
public override System.Data.UpdateRowSource UpdatedRowSource { get; set; }
[System.Data.DataSysDescription("DbCommand_UpdatedRowSource")]
public System.Data.UpdateRowSource UpdatedRowSource { get; set; }
member this.UpdatedRowSource : System.Data.UpdateRowSource with get, set
[<System.Data.DataSysDescription("DbCommand_UpdatedRowSource")>]
member this.UpdatedRowSource : System.Data.UpdateRowSource with get, set
Public Overrides Property UpdatedRowSource As UpdateRowSource
Public Property UpdatedRowSource As UpdateRowSource

Property Value

One of the UpdateRowSource values.

Implements

Attributes

Exceptions

The value entered was not one of the UpdateRowSource values.

Remarks

The default UpdatedRowSource value is Both unless the command is automatically generated (as with the OleDbCommandBuilder), in which case the default is None.

For more information about how to use the UpdatedRowSource property, see DataAdapter Parameters.

Applies to

See also