다음을 통해 공유


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.