Share via


IDTSConnections100.AddFromXML(Object, IDTSEvents100) Method

Definition

Adds the connection manager that was serialized in the XML document to the collection.

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManager100 ^ AddFromXML(System::Object ^ pNode, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents);
[System.Runtime.InteropServices.DispId(12)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100 AddFromXML (object pNode, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 pEvents);
[<System.Runtime.InteropServices.DispId(12)>]
abstract member AddFromXML : obj * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100
Public Function AddFromXML (pNode As Object, pEvents As IDTSEvents100) As IDTSConnectionManager100

Parameters

pNode
Object

The XML document containing the serialized connection manager.

pEvents
IDTSEvents100

An object that implements the IDTSEvents100 events interface to raise errors, warning, or informational events.

Returns

The connection manager that was added to the collection.

Attributes

Remarks

For more information, see Connections.

Applies to