Compartir a través de


DataConnectionPromptDialog.ShowDialog Method (IVsDataConnectionSupport)

Displays the prompt dialog box, given a specific IVsDataConnectionSupport instance.

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

Syntax

'Declaration
Public Function ShowDialog ( _
    connectionSupport As IVsDataConnectionSupport _
) As String
public string ShowDialog(
    IVsDataConnectionSupport connectionSupport
)
public:
virtual String^ ShowDialog(
    IVsDataConnectionSupport^ connectionSupport
) sealed
abstract ShowDialog : 
        connectionSupport:IVsDataConnectionSupport -> string  
override ShowDialog : 
        connectionSupport:IVsDataConnectionSupport -> string
public final function ShowDialog(
    connectionSupport : IVsDataConnectionSupport
) : String

Parameters

Return Value

Type: System.String
A string that is the new value of the connection string containing the completed information that was entered by the user.

Implements

IVsDataConnectionPromptDialog.ShowDialog(IVsDataConnectionSupport)

Exceptions

Exception Condition
ArgumentNullException

The connectionSupport parameter is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

DataConnectionPromptDialog Class

ShowDialog Overload

Microsoft.VisualStudio.Data.Framework Namespace

ConnectionString