IDTSComponentPersist Interface
Allows properties and settings for components and tasks to be saved and loaded from the package XML.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
語法
'宣告
Public Interface IDTSComponentPersist
public interface IDTSComponentPersist
public interface class IDTSComponentPersist
public interface IDTSComponentPersist
public interface IDTSComponentPersist
備註
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.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
IDTSComponentPersist Members
Microsoft.SqlServer.Dts.Runtime Namespace