IVsDataConnectionDialog.ShowDialog Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ShowDialog() |
Shows the Add Connection dialog box pre-populated with the data provider and connection string settings. |
ShowDialog(Boolean) |
Shows the Add Connection dialog box pre-populated with the data provider and connection string settings. |
ShowDialog()
Shows the Add Connection dialog box pre-populated with the data provider and connection string settings.
public:
bool ShowDialog();
public bool ShowDialog ();
abstract member ShowDialog : unit -> bool
Public Function ShowDialog () As Boolean
Returns
true if the dialog returned OK; otherwise, false.
Applies to
ShowDialog(Boolean)
Shows the Add Connection dialog box pre-populated with the data provider and connection string settings.
public:
Microsoft::VisualStudio::Data::Services::IVsDataConnection ^ ShowDialog(bool connect);
public Microsoft.VisualStudio.Data.Services.IVsDataConnection ShowDialog (bool connect);
abstract member ShowDialog : bool -> Microsoft.VisualStudio.Data.Services.IVsDataConnection
Public Function ShowDialog (connect As Boolean) As IVsDataConnection
Parameters
- connect
- Boolean
A Boolean value indicating whether the dialog box should attempt to open the connection before returning.
Returns
An IVsDataConnection object representing an open connection based on the connection string settings.