SqlCommand.UpdatedRowSource Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets how command results are applied to the DataRow when used by the Update method of the DbDataAdapter.
public:
property System::Data::UpdateRowSource UpdatedRowSource { System::Data::UpdateRowSource get(); void set(System::Data::UpdateRowSource value); };
public:
virtual property System::Data::UpdateRowSource UpdatedRowSource { System::Data::UpdateRowSource get(); void set(System::Data::UpdateRowSource value); };
[System.Data.DataSysDescription("DbCommand_UpdatedRowSource")]
public System.Data.UpdateRowSource UpdatedRowSource { get; set; }
public override System.Data.UpdateRowSource UpdatedRowSource { get; set; }
[<System.Data.DataSysDescription("DbCommand_UpdatedRowSource")>]
member this.UpdatedRowSource : System.Data.UpdateRowSource with get, set
member this.UpdatedRowSource : System.Data.UpdateRowSource with get, set
Public Property UpdatedRowSource As UpdateRowSource
Public Overrides Property UpdatedRowSource As UpdateRowSource
Property Value
One of the UpdateRowSource values.
Implements
- Attributes
Remarks
The default UpdateRowSource value is Both unless the command is automatically generated (as in the case of the SqlCommandBuilder), in which case the default is None.
For more information about using the UpdatedRowSource property, see DataAdapter Parameters.