Partager via


Méthode IDTSConnections100.AddFromXML

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Function AddFromXML ( _
    pNode As Object, _
    pEvents As IDTSEvents100 _
) As IDTSConnectionManager100
'Utilisation
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

Paramètres

  • pNode
    Type : System.Object
    The XML document containing the serialized connection manager.

Valeur de retour

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

Notes

For more information, see Connections.

Voir aussi

Référence

IDTSConnections100 Interface

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper