DataConnectionDialog.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 Data Connection dialog box with the selected data provider and connection string settings pre-populated. |
ShowDialog(Boolean) |
Shows the Data Connection dialog box pre-populated with the data provider and connection string settings and returns an open connection based on the connection string settings. |
ShowDialog()
Shows the Data Connection dialog box with the selected data provider and connection string settings pre-populated.
public:
abstract bool ShowDialog();
public abstract bool ShowDialog ();
abstract member ShowDialog : unit -> bool
Public MustOverride Function ShowDialog () As Boolean
Returns
Returns true if the user exited the dialog by clicking the accept button; otherwise, returns false.
Applies to
ShowDialog(Boolean)
Shows the Data Connection dialog box pre-populated with the data provider and connection string settings and returns an open connection based on the connection string settings.
public:
abstract Microsoft::VisualStudio::Data::DataConnection ^ ShowDialog(bool connect);
public abstract Microsoft.VisualStudio.Data.DataConnection ShowDialog (bool connect);
abstract member ShowDialog : bool -> Microsoft.VisualStudio.Data.DataConnection
Public MustOverride Function ShowDialog (connect As Boolean) As DataConnection
Parameters
- connect
- Boolean
Boolean value indicating whether the dialog box should attempt to open the connection before returning.
Returns
Returns true if the dialog box should attempt to open the connection; otherwise returns false.