共用方式為


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 命名空間