IDTSDesigntimeComponent100 인터페이스

정의

C++와 COM으로 작성된 데이터 흐름 구성 요소의 설계 시 메서드를 정의합니다.

public interface class IDTSDesigntimeComponent100
[System.Runtime.InteropServices.Guid("B7EBC995-699A-4067-A34C-40FAF745C987")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSDesigntimeComponent100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("E1ACC72B-14CE-4A91-B45F-E87773C1ABB5")]
public interface IDTSDesigntimeComponent100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("1C0F2743-58D4-4663-9BC0-06B4D19B51A7")]
public interface IDTSDesigntimeComponent100
[<System.Runtime.InteropServices.Guid("B7EBC995-699A-4067-A34C-40FAF745C987")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSDesigntimeComponent100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("E1ACC72B-14CE-4A91-B45F-E87773C1ABB5")>]
type IDTSDesigntimeComponent100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("1C0F2743-58D4-4663-9BC0-06B4D19B51A7")>]
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.

메서드

Name Description
AcquireConnections(Object)

연결 관리자와의 연결을 설정합니다.

DeleteExternalMetadataColumn(Int32, Int32)

지정된 인덱스의 외부 메타데이터 열을 외부 메타데이터 열에서 삭제합니다.

DeleteInput(Int32)

컬렉션에서 IDTSInputCollection100 객체를 IDTSInput100 삭제합니다.

DeleteOutput(Int32)

컬렉션에서 IDTSOutputCollection100 객체를 IDTSOutput100 삭제합니다.

DeleteOutputColumn(Int32, Int32)

컬렉션에서 IDTSOutputColumnCollection100 객체를 IDTSOutputColumn100 삭제합니다.

DescribeRedirectedErrorCode(Int32)

지정된 오류 코드의 설명을 반환합니다.

GetEnumerationCollection(String)

컴포넌트의 반환 IDTSFriendlyEnumCollection100 .

InsertExternalMetadataColumnAt(Int32, Int32, String, String)

지정된 인덱스의 외부 메타데이터 열에 새로운 외부 메타데이터 열을 삽입합니다.

InsertInput(DTSInsertPlacement, Int32)

IDTSInput100 개체를 IDTSInputCollection100추가합니다.

InsertOutput(DTSInsertPlacement, Int32)

IDTSOutput100 개체를 추가합니다.

InsertOutputColumnAt(Int32, Int32, String, String)

IDTSOutputColumn100 객체를 생성하여 IDTSOutputColumnCollection100.

MapInputColumn(Int32, Int32, Int32)

입력 열과 대응하는 외부 메타데이터 열 간의 관계를 설정합니다.

MapOutputColumn(Int32, Int32, Int32, Boolean)

출력 열과 대응하는 외부 메타데이터 열 간의 관계를 설정합니다.

OnDeletingInputColumn(Int32, Int32)

. 에서 객체IDTSInputColumnCollection100IDTSInputColumn100 삭제할 때 호출됩니다.

OnInputPathAttached(Int32)

객체가 IDTSInput100 인터페이스를 통해 IDTSPath100 다른 컴포넌트와 연결될 때 호출됩니다.

OnInputPathDetached(Int32)

지정된 IDTSInput100 객체를 포함하는 객체가 IDTSPath100 삭제될 때 호출됩니다.

OnOutputPathAttached(Int32)

컴포넌트의 객체가 IDTSOutput100 하위 컴포넌트에 부착될 때 호출됩니다.

ProvideComponentProperties()

컴포넌트가 처음 데이터 플로우 작업에 추가될 때 의 를 ComponentMetaData 초기화합니다.

ReinitializeMetaData()

설계 시 검증 중에 발견된 오류로 인해 컴포넌트가 반환되는 VS_NEEDSNEWMETADATA것을 수정합니다.

ReleaseConnections()

설계 시점이나 실행 시 중 생성된 AcquireConnections(Object) 연결을 해제합니다.

SetComponentProperty(String, Object)

컴포넌트의 값 IDTSCustomProperty100 에 값을 할당합니다.

SetExternalMetadataColumnDataTypeProperties(Int32, Int32, DataType, Int32, Int32, Int32, Int32)

지정된 외부 메타데이터 열의 데이터 타입 속성을 설정합니다.

SetExternalMetadataColumnProperty(Int32, Int32, String, Object)

외부 메타데이터 열의 개별 속성을 설정합니다.

SetInputColumnProperty(Int32, Int32, String, Object)

객체의 IDTSInputColumn100 값을 IDTSCustomProperty100 할당합니다.

SetInputProperty(Int32, String, Object)

객체의 IDTSInput100 값을 IDTSCustomProperty100 할당합니다.

SetOutputColumnDataTypeProperties(Int32, Int32, DataType, Int32, Int32, Int32, Int32)

객체의 IDTSOutputColumn100 데이터 타입 속성을 설정합니다.

SetOutputColumnProperty(Int32, Int32, String, Object)

객체에 대해 IDTSOutputColumn100 값 를 IDTSCustomProperty100 설정합니다.

SetOutputProperty(Int32, String, Object)

객체에 대해 IDTSOutput100 값 를 IDTSCustomProperty100 설정합니다.

SetUsageType(Int32, IDTSVirtualInput100, Int32, DTSUsageType)

컴포넌트의 객체를 생성 IDTSInputColumn100 하고 열의 속성을 설정합니다UsageType.IDTSInputColumnCollection100

Validate()

구성 요소가 올바르게 구성되었는지 확인합니다.

적용 대상