IDTSDesigntimeComponent100 인터페이스

정의

public interface class IDTSDesigntimeComponent100
[System.Runtime.InteropServices.Guid("FF5DD3F1-99C1-4FFB-B097-1B1B2B9E9B2D")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSDesigntimeComponent100
[<System.Runtime.InteropServices.Guid("FF5DD3F1-99C1-4FFB-B097-1B1B2B9E9B2D")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSDesigntimeComponent100 = interface
Public Interface IDTSDesigntimeComponent100
파생
특성

예제

다음 코드 예제에서는 구성 요소의 디자인 타임 인스턴스에 액세스 하는 방법을 보여 줍니다.

Package p = new Package();  
MainPipe dataFlow = ((TaskHost)p.Executables.Add("DTS.Pipeline")).InnerObject as MainPipe;  

IDTSComponentMetaData100 md = dataFlow.ComponentMetaDataCollection.New();  
md.ComponentClassID = "DTSAdapter.OleDbSource";  
CManagedComponentWrapper wrp = md.Instantiate();  
wrp.ProvideComponentProperties();  
Dim p As Package = New Package   
Dim dataFlow As MainPipe = CType(CType(p.Executables.Add("DTS.Pipeline"), TaskHost).InnerObject, MainPipe)   
Dim md As IDTSComponentMetaData100 = dataFlow.ComponentMetaDataCollection.New   
md.ComponentClassID = "DTSAdapter.OleDbSource"   
Dim wrp As CManagedComponentWrapper = md.Instantiate   
wrp.ProvideComponentProperties  

설명

이 인터페이스는 데이터 흐름 구성 요소에 의해 구현되는 두 인터페이스 중 하나입니다. IDTSRuntimeComponent100이 다른 항목입니다. 이 인터페이스는 구성 요소의 디자인 타임 인터페이스를 정의하고 ComponentMetaData의 구성 요소 속성 및 컬렉션을 수정할 때 호출되는 메서드를 포함합니다. 관리되는 구성 요소 개발자는 이 인터페이스를 명시적으로 구현하지 않고 이러한 두 인터페이스의 메서드를 구현하는 PipelineComponent 기본 클래스를 대신 사용합니다.

프로그래밍 방식으로 데이터 흐름 태스크에서 기존 구성 요소를 추가하거나 수정할 때 구성 요소 메타데이터에 직접 액세스하는 대신 구성 요소의 디자인 타임 인스턴스를 사용해야 합니다. ComponentMetaData를 직접 수정하면 해당 메타데이터에 대한 변경 내용의 유효성을 검사하고 거부하는 구성 요소의 기능이 무시되며 피해야 합니다. 관리 코드 개발자는 구성 요소의 디자인 타임 인스턴스에 액세스하고 CManagedComponentWrapper를 통해 IDTSDesigntimeComponent100 인터페이스의 메서드를 사용합니다.

메서드

AcquireConnections(Object)
DeleteExternalMetadataColumn(Int32, Int32)
DeleteInput(Int32)
DeleteOutput(Int32)
DeleteOutputColumn(Int32, Int32)
DescribeRedirectedErrorCode(Int32)
GetEnumerationCollection(String)
InsertExternalMetadataColumnAt(Int32, Int32, String, String)
InsertInput(DTSInsertPlacement, Int32)
InsertOutput(DTSInsertPlacement, Int32)
InsertOutputColumnAt(Int32, Int32, String, String)
MapInputColumn(Int32, Int32, Int32)
MapOutputColumn(Int32, Int32, Int32, Boolean)
OnDeletingInputColumn(Int32, Int32)
OnInputPathAttached(Int32)
OnInputPathDetached(Int32)
OnOutputPathAttached(Int32)
ProvideComponentProperties()
ReinitializeMetaData()
ReleaseConnections()
SetComponentProperty(String, Object)
SetExternalMetadataColumnDataTypeProperties(Int32, Int32, DataType, Int32, Int32, Int32, Int32)
SetExternalMetadataColumnProperty(Int32, Int32, String, Object)
SetInputColumnProperty(Int32, Int32, String, Object)
SetInputProperty(Int32, String, Object)
SetOutputColumnDataTypeProperties(Int32, Int32, DataType, Int32, Int32, Int32, Int32)
SetOutputColumnProperty(Int32, Int32, String, Object)
SetOutputProperty(Int32, String, Object)
SetUsageType(Int32, IDTSVirtualInput100, Int32, DTSUsageType)
Validate()

적용 대상