DataAdapter.CloneInternals 方法

定义

注意

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

注意

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

注意

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

注意

use 'protected DataAdapter(DataAdapter)' ctor

创建此 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

返回

DataAdapter 的克隆实例。

属性

注解

不推荐使用此方法。 DataAdapter应使用构造函数而不是此方法。

所有命令、 TableMappingsMissingSchemaActionMissingMappingAction 都已克隆。 但是,不会复制命令的连接,而是共享的。 因此, DataAdapter 克隆的 可用于与原始连接相同的连接。

继承者说明

在派生类中重写 CloneInternals() 时,请务必调用基类的 CloneInternals() 方法。

适用于

另请参阅