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
connectionSupport
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataConnectionSupportAn instance of the IVsDataConnectionSupport class that contains an existing, incomplete connection string that should be updated by this dialog box.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataConnectionPromptDialog Class