SqlCommand.UpdatedRowSource Egenskap
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Hämtar eller anger hur kommandoresultat tillämpas på DataRow när de används av metoden Update i 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
Egenskapsvärde
Ett av UpdateRowSource värdena.
Implementeringar
- Attribut
Kommentarer
Standardvärdet UpdateRowSource är Båda såvida inte kommandot genereras automatiskt (som i fallet SqlCommandBuildermed ), i vilket fall standardvärdet är Ingen.
Mer information om hur du använder egenskapen UpdatedRowSource finns i DataAdapter-parametrar.