DataConnectionPromptDialog.ShowDialog Method (DataConnectionSupport)
Displays the prompt dialog box, given a specific DataConnectionSupport instance.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Déclaration
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