다음을 통해 공유


IVsDataConnectionDialog.ShowDialog Method (Boolean)

Shows the Add Connection dialog box pre-populated with the data provider and connection string settings.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

‘선언
Function ShowDialog ( _
    connect As Boolean _
) As IVsDataConnection
IVsDataConnection ShowDialog(
    bool connect
)
IVsDataConnection^ ShowDialog(
    bool connect
)
abstract ShowDialog : 
        connect:bool -> IVsDataConnection 
function ShowDialog(
    connect : boolean
) : IVsDataConnection

Parameters

  • connect
    Type: System.Boolean
    A Boolean value indicating whether the dialog box should attempt to open the connection before returning.

Return Value

Type: Microsoft.VisualStudio.Data.Services.IVsDataConnection
An IVsDataConnection object representing an open connection based on the connection string settings.

.NET Framework Security

See Also

Reference

IVsDataConnectionDialog Interface

ShowDialog Overload

Microsoft.VisualStudio.Data.Services Namespace