Bagikan melalui


DataAdapter.CloneInternals Metode

Definisi

Perhatian

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

Perhatian

CloneInternals() has been deprecated. Use the DataAdapter(DataAdapter from) constructor instead.

Perhatian

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

Perhatian

use 'protected DataAdapter(DataAdapter)' ctor

Membuat salinan instans ini dari DataAdapter.

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("CloneInternals() has been deprecated. Use the DataAdapter(DataAdapter from) constructor instead.")]
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("use 'protected DataAdapter(DataAdapter)' ctor")]
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")>]
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 instead.")>]
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("use 'protected DataAdapter(DataAdapter)' ctor")>]
abstract member CloneInternals : unit -> System.Data.Common.DataAdapter
override this.CloneInternals : unit -> System.Data.Common.DataAdapter
Protected Overridable Function CloneInternals () As DataAdapter

Mengembalikan

Instans kloning dari DataAdapter.

Atribut

Keterangan

Metode ini tidak digunakan lagi. DataAdapter Konstruktor harus digunakan alih-alih metode ini.

Semua perintah, TableMappings, , MissingSchemaActiondan MissingMappingAction dikloning. Namun, koneksi untuk perintah tidak disalin, tetapi dibagikan. Dengan demikian, kloning DataAdapter dapat digunakan terhadap koneksi yang sama dengan aslinya.

Catatan Bagi Inheritor

Saat mengambil alih di kelas turunan CloneInternals() , pastikan untuk memanggil metode kelas CloneInternals() dasar.

Berlaku untuk

Lihat juga