Partilhar via


DataConnection.Clone Method

Definition

Creates a cloned instance of this data connection, which retains the same connection properties and state as the original.

public:
 abstract Microsoft::VisualStudio::Data::DataConnection ^ Clone();
public abstract Microsoft.VisualStudio.Data.DataConnection Clone ();
abstract member Clone : unit -> Microsoft.VisualStudio.Data.DataConnection
Public MustOverride Function Clone () As DataConnection

Returns

Returns a cloned instance of the current DataConnection object instance, with the same connection properties and state as the original.

Applies to