DataAdapter.CloneInternals メソッド

定義

注意事項

use 'protected DataAdapter(DataAdapter)' ctor

注意事項

CloneInternals() has been deprecated. Use the DataAdapter(DataAdapter from) constructor. http://go.microsoft.com/fwlink/?linkid=14202

注意事項

CloneInternals() has been deprecated. Use the DataAdapter(DataAdapter from) constructor. https://go.microsoft.com/fwlink/?linkid=14202

DataAdapterのこのインスタンスのコピーを作成します。

protected:
 virtual System::Data::Common::DataAdapter ^ CloneInternals();
[System.Obsolete("use 'protected DataAdapter(DataAdapter)' ctor")]
protected virtual System.Data.Common.DataAdapter CloneInternals();
[System.Obsolete("CloneInternals() has been deprecated.  Use the DataAdapter(DataAdapter from) constructor.  http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual System.Data.Common.DataAdapter CloneInternals();
[System.Obsolete("CloneInternals() has been deprecated.  Use the DataAdapter(DataAdapter from) constructor.  https://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual System.Data.Common.DataAdapter CloneInternals();
[<System.Obsolete("use 'protected DataAdapter(DataAdapter)' ctor")>]
abstract member CloneInternals : unit -> System.Data.Common.DataAdapter
override this.CloneInternals : unit -> System.Data.Common.DataAdapter
[<System.Obsolete("CloneInternals() has been deprecated.  Use the DataAdapter(DataAdapter from) constructor.  http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member CloneInternals : unit -> System.Data.Common.DataAdapter
override this.CloneInternals : unit -> System.Data.Common.DataAdapter
[<System.Obsolete("CloneInternals() has been deprecated.  Use the DataAdapter(DataAdapter from) constructor.  https://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member CloneInternals : unit -> System.Data.Common.DataAdapter
override this.CloneInternals : unit -> System.Data.Common.DataAdapter
Protected Overridable Function CloneInternals () As DataAdapter

返品

DataAdapterの複製されたインスタンス。

属性

注釈

このメソッドは非推奨とされます。 このメソッドの代わりに、 DataAdapter コンストラクターを使用する必要があります。

すべてのコマンド、 TableMappingsMissingSchemaAction、および MissingMappingAction が複製されます。 ただし、コマンドの接続はコピーされず、共有されます。 したがって、複製された DataAdapter は、元の接続と同じ接続に対して使用できます。

注意 (継承者)

派生クラスで CloneInternals() をオーバーライドする場合は、必ず基底クラスの CloneInternals() メソッドを呼び出してください。

適用対象

こちらもご覧ください