IDTSComponentPersist 接口
Allows properties and settings for components and tasks to be saved and loaded from the package XML.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public Interface IDTSComponentPersist
用法
Dim instance As IDTSComponentPersist
public interface IDTSComponentPersist
public interface class IDTSComponentPersist
type IDTSComponentPersist = interface end
public interface IDTSComponentPersist
IDTSComponentPersist 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
LoadFromXML | Loads component information from XML. | |
SaveToXML | 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.