ExpressionTask.SaveToXML Method
Saves the definition of the task, in XML format, into 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 SaveToXML ( _
doc As XmlDocument, _
events As IDTSInfoEvents _
)
'Usage
Dim instance As ExpressionTask
Dim doc As XmlDocument
Dim events As IDTSInfoEvents
instance.SaveToXML(doc, events)
public void SaveToXML(
XmlDocument doc,
IDTSInfoEvents events
)
public:
virtual void SaveToXML(
XmlDocument^ doc,
IDTSInfoEvents^ events
) sealed
abstract SaveToXML :
doc:XmlDocument *
events:IDTSInfoEvents -> unit
override SaveToXML :
doc:XmlDocument *
events:IDTSInfoEvents -> unit
public final function SaveToXML(
doc : XmlDocument,
events : IDTSInfoEvents
)
Parameters
- doc
Type: System.Xml.XmlDocument
The XML document to which to save the information.
- events
Type: Microsoft.SqlServer.Dts.Runtime.IDTSInfoEvents
An object that implements the IDTSInfoEvents interface for raising events (errors, warnings, and so on) during persistence.
Implements
IDTSComponentPersist.SaveToXML(XmlDocument, IDTSInfoEvents)