Metodo PackageClass.LoadFromXML
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Loads a package and all its objects that have been saved to memory in XML format.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintassi
'Dichiarazione
Public Overridable Sub LoadFromXML ( _
pNode As Object, _
pEvents As IDTSEvents100 _
)
'Utilizzo
Dim instance As PackageClass
Dim pNode As Object
Dim pEvents As IDTSEvents100
instance.LoadFromXML(pNode, pEvents)
public virtual void LoadFromXML(
Object pNode,
IDTSEvents100 pEvents
)
public:
virtual void LoadFromXML(
[InAttribute] Object^ pNode,
[InAttribute] IDTSEvents100^ pEvents
)
abstract LoadFromXML :
pNode:Object *
pEvents:IDTSEvents100 -> unit
override LoadFromXML :
pNode:Object *
pEvents:IDTSEvents100 -> unit
public function LoadFromXML(
pNode : Object,
pEvents : IDTSEvents100
)
Parametri
- pNode
Tipo: System.Object
The node that contains the connection manager information to be loaded.
- pEvents
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
An object that implements the IDTSEvents100 interface for firing events (errors, warnings, and so on) during persistence.
Implementa
IDTSPersist100.LoadFromXML(Object, IDTSEvents100)
Osservazioni
For more information, see Package.