ExpressionTask.LoadFromXML Method
Loads the definition of the task, in XML format, from the XML definition of the package.
Namespace: Microsoft.SqlServer.Dts.Tasks.ExpressionTask
Assembly: Microsoft.SqlServer.ExpressionTask (in Microsoft.SqlServer.ExpressionTask.dll)
Syntax
'Declaration
Public Sub LoadFromXML ( _
root As XmlElement, _
events As IDTSInfoEvents _
)
'Usage
Dim instance As ExpressionTask
Dim root As XmlElement
Dim events As IDTSInfoEvents
instance.LoadFromXML(root, events)
public void LoadFromXML(
XmlElement root,
IDTSInfoEvents events
)
public:
virtual void LoadFromXML(
XmlElement^ root,
IDTSInfoEvents^ events
) sealed
abstract LoadFromXML :
root:XmlElement *
events:IDTSInfoEvents -> unit
override LoadFromXML :
root:XmlElement *
events:IDTSInfoEvents -> unit
public final function LoadFromXML(
root : XmlElement,
events : IDTSInfoEvents
)
Parameters
- root
Type: System.Xml.XmlElement
The node that contains the information to be loaded.
- events
Type: Microsoft.SqlServer.Dts.Runtime.IDTSInfoEvents
An object that implements the IDTSInfoEvents interface for raising events during persistence.
Implements
IDTSComponentPersist.LoadFromXML(XmlElement, IDTSInfoEvents)