Share via


DataConnectionDialog.ShowDialog Method

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

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

Syntax

'Declaration
Public MustOverride Function ShowDialog As Boolean
public abstract bool ShowDialog()
public:
virtual bool ShowDialog() abstract
abstract ShowDialog : unit -> bool
public abstract function ShowDialog() : boolean

Return Value

Type: System.Boolean
Returns true if the user exited the dialog by clicking the accept button; otherwise, returns false.

.NET Framework Security

See Also

Reference

DataConnectionDialog Class

ShowDialog Overload

Microsoft.VisualStudio.Data Namespace