Partilhar via


IVsDataConnection.Clone Method

Definition

Overloads

Clone()

Creates a copy of the current data connection.

Clone(Boolean)

Creates a copy of the current data connection.

Clone()

Creates a copy of the current data connection.

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

Returns

An IVsDataConnection object representing an identical copy of the current instance of the data connection.

Applies to

Clone(Boolean)

Creates a copy of the current data connection.

public:
 Microsoft::VisualStudio::Data::Services::IVsDataConnection ^ Clone(bool suppressLocking);
public Microsoft.VisualStudio.Data.Services.IVsDataConnection Clone (bool suppressLocking);
abstract member Clone : bool -> Microsoft.VisualStudio.Data.Services.IVsDataConnection
Public Function Clone (suppressLocking As Boolean) As IVsDataConnection

Parameters

suppressLocking
Boolean

A Boolean value indicating whether the cloned data connection is a non-locking connection.

Returns

A IVsDataConnection object representing an identical copy of the current instance of the data connection.

Applies to