IVsDataConnection.Clone Method (Boolean)
Creates a copy of the current data connection.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function Clone ( _
suppressLocking As Boolean _
) As IVsDataConnection
IVsDataConnection Clone(
bool suppressLocking
)
IVsDataConnection^ Clone(
bool suppressLocking
)
abstract Clone :
suppressLocking:bool -> IVsDataConnection
function Clone(
suppressLocking : boolean
) : IVsDataConnection
Parameters
suppressLocking
Type: System.BooleanA Boolean value indicating whether the cloned data connection is a non-locking connection.
Return Value
Type: Microsoft.VisualStudio.Data.Services.IVsDataConnection
A IVsDataConnection object representing an identical copy of the current instance of the data connection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.