Share via


TaskHostClass.SaveToXML Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Saves the package to XML format.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Sub SaveToXML ( _
    pDoc As Object, _
    pNode As Object, _
    pEvents As IDTSEvents100 _
)
'Usage
Dim instance As TaskHostClass 
Dim pDoc As Object 
Dim pNode As Object 
Dim pEvents As IDTSEvents100

instance.SaveToXML(pDoc, pNode, pEvents)
public virtual void SaveToXML(
    Object pDoc,
    Object pNode,
    IDTSEvents100 pEvents
)
public:
virtual void SaveToXML(
    [InAttribute] Object^ pDoc, 
    [InAttribute] Object^ pNode, 
    [InAttribute] IDTSEvents100^ pEvents
)
abstract SaveToXML : 
        pDoc:Object * 
        pNode:Object * 
        pEvents:IDTSEvents100 -> unit  
override SaveToXML : 
        pDoc:Object * 
        pNode:Object * 
        pEvents:IDTSEvents100 -> unit
public function SaveToXML(
    pDoc : Object, 
    pNode : Object, 
    pEvents : IDTSEvents100
)

Parameters

  • pDoc
    Type: System.Object
    The XML document to which to save the information.
  • pNode
    Type: System.Object
    The node within the above document to which to save the information.

Implements

IDTSPersist100.SaveToXML(Object, Object, IDTSEvents100)

See Also

Reference

TaskHostClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace