IVsDataConnectionDialog.ShowDialog Method

Definition

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.

Applies to