AdomdDataAdapter.IDbDataAdapter.UpdateCommand 屬性
Gets or sets an SQL statement used to update records in the data source.
命名空間: Microsoft.AnalysisServices.AdomdClient
組件: Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)
語法
'宣告
Private Property UpdateCommand As IDbCommand
Implements IDbDataAdapter.UpdateCommand
Get
Set
'用途
Dim instance As AdomdDataAdapter
Dim value As IDbCommand
value = CType(instance, IDbDataAdapter).UpdateCommand
CType(instance, IDbDataAdapter).UpdateCommand = value
IDbCommand IDbDataAdapter.UpdateCommand { get; set; }
private:
virtual property IDbCommand^ UpdateCommand {
IDbCommand^ get () sealed = IDbDataAdapter::UpdateCommand::get;
void set (IDbCommand^ value) sealed = IDbDataAdapter::UpdateCommand::set;
}
private abstract UpdateCommand : IDbCommand with get, set
private override UpdateCommand : IDbCommand with get, set
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。
屬性值
型別:System.Data.IDbCommand
An IDbCommand used during Update to update records in the data source for modified rows in the data set.