此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Adds the connection manager that was serialized in the XML document to the collection.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Function AddFromXML ( _
pNode As Object, _
pEvents As IDTSEvents100 _
) As IDTSConnectionManager100
'用途
Dim instance As IDTSConnections100
Dim pNode As Object
Dim pEvents As IDTSEvents100
Dim returnValue As IDTSConnectionManager100
returnValue = instance.AddFromXML(pNode, _
pEvents)
IDTSConnectionManager100 AddFromXML(
Object pNode,
IDTSEvents100 pEvents
)
IDTSConnectionManager100^ AddFromXML(
[InAttribute] Object^ pNode,
[InAttribute] IDTSEvents100^ pEvents
)
abstract AddFromXML :
pNode:Object *
pEvents:IDTSEvents100 -> IDTSConnectionManager100
function AddFromXML(
pNode : Object,
pEvents : IDTSEvents100
) : IDTSConnectionManager100
參數
- pNode
型別:System.Object
The XML document containing the serialized connection manager.
- pEvents
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
An object that implements the IDTSEvents100 events interface to raise errors, warning, or informational events.
傳回值
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100
The connection manager that was added to the collection.
備註
For more information, see Connections.