Share via


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

Implements

IDTSComponentPersist.SaveToXML(XmlDocument, IDTSInfoEvents)

See Also

Reference

ExpressionTask Class

Microsoft.SqlServer.Dts.Tasks.ExpressionTask Namespace