Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Opens this data connection.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public MustOverride Sub Open
public abstract void Open()
public:
virtual void Open() abstract
abstract Open : unit -> unit
public abstract function Open()
Remarks
If a DDEX provider has implemented the DataConnectionPromptDialog class and indicates that prompting is required in their implementation of the Open method, then this method automatically shows the prompt dialog and captures the updated settings to allow the connection to be opened.
If at any time during execution of the Open method the user cancels the operation (for example, by clicking Cancel on the prompt dialog), then a DataConnectionOpenCanceledException is thrown.
Hinweis
Any exceptions that occur indicate that a provider-specific error occurred when trying to open the connection.
.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.