DataConnectionUIConnector.Connect(IVsDataConnection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens the data connection in the context of a connection UI (for example, the data connection dialog box).
public:
virtual void Connect(Microsoft::VisualStudio::Data::Services::IVsDataConnection ^ connection);
public virtual void Connect (Microsoft.VisualStudio.Data.Services.IVsDataConnection connection);
abstract member Connect : Microsoft.VisualStudio.Data.Services.IVsDataConnection -> unit
override this.Connect : Microsoft.VisualStudio.Data.Services.IVsDataConnection -> unit
Public Overridable Sub Connect (connection As IVsDataConnection)
Parameters
- connection
- IVsDataConnection
A data connection object representing the connection to the data source.
Implements
Exceptions
The connection
parameter is null.