Método IDTSConnections100.AddFromXML
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Adds the connection manager that was serialized in the XML document to the collection.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintaxe
'Declaração
Function AddFromXML ( _
pNode As Object, _
pEvents As IDTSEvents100 _
) As IDTSConnectionManager100
'Uso
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
Parâmetros
- pNode
Tipo: System.Object
The XML document containing the serialized connection manager.
- pEvents
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
An object that implements the IDTSEvents100 events interface to raise errors, warning, or informational events.
Valor de retorno
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100
The connection manager that was added to the collection.
Comentários
For more information, see Connections.