DataConnectionFactory.MakeDataConnectionFrom(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.
Creates a new instance of the DataConnection class for the specified provider from an existing underlying provider object.
public:
Microsoft::VisualStudio::Data::DataConnection ^ MakeDataConnectionFrom(Guid provider, System::Object ^ providerObj);
public Microsoft.VisualStudio.Data.DataConnection MakeDataConnectionFrom (Guid provider, object providerObj);
member this.MakeDataConnectionFrom : Guid * obj -> Microsoft.VisualStudio.Data.DataConnection
Public Function MakeDataConnectionFrom (provider As Guid, providerObj As Object) As DataConnection
Parameters
- provider
- Guid
The unique identifier of a DDEX provider.
- providerObj
- Object
An existing underlying provider object.
Returns
Returns a DataConnection object instance.
Exceptions
The providerObj
parameter is null.
The provider
is not a registered DDEX provider.