When implemented by a class, displays the prompt dialog box, given a specific IVsDataConnectionSupport instance.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'宣言
Function ShowDialog ( _
connectionSupport As IVsDataConnectionSupport _
) As String
'使用
Dim instance As IVsDataConnectionPromptDialog
Dim connectionSupport As IVsDataConnectionSupport
Dim returnValue As String
returnValue = instance.ShowDialog(connectionSupport)
string ShowDialog(
IVsDataConnectionSupport connectionSupport
)
String^ ShowDialog(
IVsDataConnectionSupport^ connectionSupport
)
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.
Permissions
- 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
IVsDataConnectionPromptDialog Interface
IVsDataConnectionPromptDialog Members
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace