IVsDataConnectionFactory.MakeConnectionFrom(Guid, Object) 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.
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.