Partager via


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

'Déclaration
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.Boolean
    A 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

See Also

Reference

IVsDataConnection Interface

Clone Overload

Microsoft.VisualStudio.Data.Services Namespace