IVsDataConnectionFactory.MakeConnectionFrom(Guid, Object) Method

Definition

Initializes a new instance of the IVsDataConnection class for the specified provider from an existing underlying provider object.

public:
 Microsoft::VisualStudio::Data::Services::IVsDataConnection ^ MakeConnectionFrom(Guid provider, System::Object ^ providerObj);
public Microsoft.VisualStudio.Data.Services.IVsDataConnection MakeConnectionFrom (Guid provider, object providerObj);
abstract member MakeConnectionFrom : Guid * obj -> Microsoft.VisualStudio.Data.Services.IVsDataConnection
Public Function MakeConnectionFrom (provider As Guid, providerObj As Object) As IVsDataConnection

Parameters

provider
Guid

The unique identifier of a DDEX provider.

providerObj
Object

An existing underlying provider object.

Returns

A IVsDataConnection object representing a data connection.

Exceptions

The providerObj parameter is null.

The provider is not a registered DDEX provider.

Applies to