共用方式為


DataConnectionPromptDialog.ShowDialog(IVsDataConnectionSupport) Method

Definition

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

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

Parameters

connectionSupport
IVsDataConnectionSupport

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

Returns

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

Implements

Exceptions

The connectionSupport parameter is null.

Applies to