Gets a new Connection object using Microsoft Data Links.
| Connections Collection |
object.NewDataLink(UDLPath) as Connection
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| UDLPath | The UDL path |
NewDataLink is similar to New, except you supply a UDL path instead of a provider ID.
HRESULT NewDataLink (
BSTR UDLPath,
IDTSConnection **pRetVal);