Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IDTSComponentPersist Interface


Allows properties and settings for components and tasks to be saved and loaded from the package XML.

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

public interface IDTSComponentPersist

System_CAPS_pubmethodLoadFromXML(XmlElement, IDTSInfoEvents)

Loads component information from XML.

System_CAPS_pubmethodSaveToXML(XmlDocument, IDTSInfoEvents)

Saves a component to XML. Tasks and containers implement this method.

Integration Services packages are saved as XML documents and contain information that describes their objects, properties, and settings. When the run-time engine saves a package, the tasks contained by the package are automatically saved, but with only a limited amount of information. This information includes task creation properties and properties of the TaskHost object that wrap the task.

When writing a custom task, you must implement the IDTSComponentPersist interface to allow your custom task to save custom properties and settings in the package XML.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft