DTS Programming
NewDataLink Method
The NewDataLink method gets a new Connection object using Microsoft® Data Link files.
Applies To
| Connections Collection |
Syntax
[Set object =] collection.NewDataLink(UDLPath)
| Part | Description |
|---|---|
| collection | Expression that evaluates to a Connections collection |
| UDLPath | File specification of the UDL file |
| object | Object Variable of type Connection |
Remarks
NewDataLink is similar to New, except you supply a UDL path instead of a provider ID.
Prototype (C/C++)
HRESULT NewDataLink (
BSTR UDLPath,
IDTSConnection **pRetVal);