Udostępnij za pośrednictwem


DataConnectionUIConnector.Connect(IVsDataConnection) Method

Definition

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.

Applies to