OleDbCommand.UpdatedRowSource Propriedade

Definição

Obtém ou define como os resultados dos comandos são aplicados ao DataRow quando usados pelo Update método do OleDbDataAdapter.

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

Valor de Propriedade

Um dos UpdateRowSource valores.

Implementações

Atributos

Exceções

O valor inserido não era um dos UpdateRowSource valores.

Observações

O valor padrão UpdatedRowSource é Ambos, a menos que o comando seja gerado automaticamente (como no OleDbCommandBuilder), caso em que o valor padrão é Nenhum.

Para mais informações sobre como usar a UpdatedRowSource propriedade, consulte Parâmetros do DataAdapter.

Aplica-se a

Ver também