Compartir a través de


DataConnectionPromptDialog.ShowDialog Method (DataConnectionSupport)

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

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

Syntax

'Declaration
Public Function ShowDialog ( _
    connectionSupport As DataConnectionSupport _
) As String
public string ShowDialog(
    DataConnectionSupport connectionSupport
)
public:
String^ ShowDialog(
    DataConnectionSupport^ connectionSupport
)
member ShowDialog : 
        connectionSupport:DataConnectionSupport -> string
public function ShowDialog(
    connectionSupport : DataConnectionSupport
) : String

Parameters

Return Value

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

Exceptions

Exception Condition
ArgumentNullException

The connectionSupport parameter is null.

.NET Framework Security

See Also

Reference

DataConnectionPromptDialog Class

ShowDialog Overload

Microsoft.VisualStudio.Data Namespace

ConnectionString