AdomdDataAdapter.IDbDataAdapter.InsertCommand 属性

Gets or sets an SQL statement used to insert new records into the data source.

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Private Property InsertCommand As IDbCommand 
    Implements IDbDataAdapter.InsertCommand 
    Get 
    Set
用法
Dim instance As AdomdDataAdapter 
Dim value As IDbCommand 

value = CType(instance, IDbDataAdapter).InsertCommand 

CType(instance, IDbDataAdapter).InsertCommand = value
IDbCommand IDbDataAdapter.InsertCommand { get; set; }
private:
virtual property IDbCommand^ InsertCommand {
    IDbCommand^ get () sealed = IDbDataAdapter::InsertCommand::get;
    void set (IDbCommand^ value) sealed = IDbDataAdapter::InsertCommand::set;
}
private abstract InsertCommand : IDbCommand with get, set 
private override InsertCommand : IDbCommand with get, set
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。

属性值

类型:System.Data.IDbCommand
An IDbCommand used during Update to insert records in the data source for new rows in the data set.

实现

IDbDataAdapter.InsertCommand

请参阅

参考

AdomdDataAdapter 类

Microsoft.AnalysisServices.AdomdClient 命名空间