共用方式為


DataConnectionPromptDialog.ShowDialog(DataConnectionSupport) Method

Definition

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

public:
 System::String ^ ShowDialog(Microsoft::VisualStudio::Data::DataConnectionSupport ^ connectionSupport);
public string ShowDialog (Microsoft.VisualStudio.Data.DataConnectionSupport connectionSupport);
override this.ShowDialog : Microsoft.VisualStudio.Data.DataConnectionSupport -> string
Public Function ShowDialog (connectionSupport As DataConnectionSupport) As String

Parameters

connectionSupport
DataConnectionSupport

An instance of DataConnectionSupport class that contains an existing, incomplete connection string that should be updated by this dialog.

Returns

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

Exceptions

The connectionSupport parameter is null.

Applies to