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
'Declaration
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
- 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.