IDTSConnections100.AddFromXML 方法

此 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.

返回值

类型:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100
The connection manager that was added to the collection.

注释

For more information, see Connections.

请参阅

参考

IDTSConnections100 接口

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间