Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- connectionSupport
Type: Microsoft.VisualStudio.Data.DataConnectionSupport
An instance of DataConnectionSupport class that contains an existing, incomplete connection string that should be updated by this dialog.
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
- 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