CManagedComponentWrapperClass 클래스

정의

데이터 흐름 구성 요소의 디자인 타임 인스턴스를 나타냅니다.

public ref class CManagedComponentWrapperClass : Microsoft::SqlServer::Dts::Pipeline::Wrapper::CManagedComponentWrapper, Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSRuntimeComponent100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("4F885D04-B578-47B7-94A0-DE9C7DA25EE2")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FAggregatable | System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class CManagedComponentWrapperClass : Microsoft.SqlServer.Dts.Pipeline.Wrapper.CManagedComponentWrapper, Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeComponent100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FAggregatable | System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("8DC69D45-2AD5-40C6-AAEC-25722F92D6FC")]
public class CManagedComponentWrapperClass : Microsoft.SqlServer.Dts.Pipeline.Wrapper.CManagedComponentWrapper, Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeComponent100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FAggregatable | System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("7CDF593F-DE06-4ABD-B356-7976EF7AC8E0")]
public class CManagedComponentWrapperClass : Microsoft.SqlServer.Dts.Pipeline.Wrapper.CManagedComponentWrapper, Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeComponent100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("4F885D04-B578-47B7-94A0-DE9C7DA25EE2")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FAggregatable | System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type CManagedComponentWrapperClass = class
    interface IDTSDesigntimeComponent100
    interface CManagedComponentWrapper
    interface IDTSRuntimeComponent100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FAggregatable | System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("8DC69D45-2AD5-40C6-AAEC-25722F92D6FC")>]
type CManagedComponentWrapperClass = class
    interface IDTSDesigntimeComponent100
    interface CManagedComponentWrapper
    interface IDTSRuntimeComponent100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FAggregatable | System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("7CDF593F-DE06-4ABD-B356-7976EF7AC8E0")>]
type CManagedComponentWrapperClass = class
    interface IDTSDesigntimeComponent100
    interface CManagedComponentWrapper
    interface IDTSRuntimeComponent100
Public Class CManagedComponentWrapperClass
Implements CManagedComponentWrapper, IDTSRuntimeComponent100
상속
CManagedComponentWrapperClass
특성
구현

예제

다음 코드 예제에서는 데이터 흐름 태스크에 구성 요소를 추가하고 메서드를 호출하여 인터페이스의 CManagedComponentWrapper 인스턴스를 Instantiate 검색합니다.

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

IDTSComponentMetaData100 md = mp.ComponentMetaDataCollection.New();  
md.ComponentClassID = "DTSAdapter.OleDbSource";  

CManagedComponentWrapper wrp = md.Instantiate();  

설명

CManagedComponentWrapperClass 데이터 흐름 구성 요소의 디자인 타임 인스턴스를 나타내며 데이터 흐름 태스크에서 구성 요소를 프로그래밍 방식으로 수정할 때 사용되는 개체입니다. 이 클래스의 메서드는 인터페이스에 IDTSDesigntimeComponent100 의해 정의되며 속성 및 컬렉션 구성 요소를 수정하는 데 사용됩니다. 인터페이스는 CManagedComponentWrapper 구성 요소의 인터페이스 메서드가 IDTSComponentMetaData100 호출되면 반환 Instantiate 됩니다. 이 인터페이스는 의 CManagedComponentWrapperClass 인스턴스로 캐스팅할 수 있지만 이 작업을 수행하는 데는 이점이 없습니다. 따라서 일반적으로 이 클래스는 사용되지 않습니다.

생성자

CManagedComponentWrapperClass()

CManagedComponentWrapperClass 개체의 인스턴스를 인스턴스화합니다.

속성

BufferManager

구성 요소의 IDTSBufferManager100 개체를 설정합니다.

ComponentMetaData

구성 요소에 대한 IDTSComponentMetaData100 개체를 설정합니다.

EventInfos

구성 요소와 연결된 IDTSEventInfos100 컬렉션을 설정합니다.

LogEntryInfos

구성 요소에 대한 IDTSLogEntryInfos100 개체를 가져옵니다.

ReferenceTracker

구성 요소와 연결된 IDTSObjectReferenceTracker100 개체를 설정합니다.

RequiredProductLevel

데이터 흐름 구성 요소에 필요한 SQL Server 버전을 나타내는 값을 가져옵니다.

VariableDispenser

구성 요소와 연결된 IDTSVariableDispenser100 개체를 설정합니다.

메서드

AcquireConnections(Object)

연결 관리자에 대한 연결을 설정합니다.

Cleanup()

구성 요소 실행 후 리소스를 해제하고 정리합니다.

DeleteExternalMetadataColumn(Int32, Int32)

외부 메타데이터 열의 컬렉션에서 지정된 인덱스 위치에 있는 외부 메타데이터 열을 삭제합니다.

DeleteInput(Int32)

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

DeleteOutput(Int32)

구성 요소의 IDTSOutput100 컬렉션에서 IDTSOutputCollection100 개체를 삭제합니다.

DeleteOutputColumn(Int32, Int32)

구성 요소의 IDTSOutputColumn100 컬렉션에서 IDTSOutputColumnCollection100 개체를 삭제합니다.

DescribeRedirectedErrorCode(Int32)

구성 요소에서 정의한 오류 코드에 대한 설명을 반환합니다.

GetEnumerationCollection(String)

구성 요소의 IDTSFriendlyEnumCollection100을 반환합니다.

InsertExternalMetadataColumnAt(Int32, Int32, String, String)

새 외부 메타데이터 열을 외부 메타데이터 열 컬렉션의 지정된 인덱스 위치에 삽입합니다.

InsertInput(DTSInsertPlacement, Int32)

구성 요소의 IDTSInput100IDTSInputCollection100 개체를 추가합니다.

InsertOutput(DTSInsertPlacement, Int32)

구성 요소에 새 IDTSOutput100 개체를 추가합니다.

InsertOutputColumnAt(Int32, Int32, String, String)

IDTSOutputColumn100 개체를 만들어 구성 요소의 IDTSOutputColumnCollection100에 삽입합니다.

MapInputColumn(Int32, Int32, Int32)

입력 열과 해당 외부 메타데이터 열 사이의 관계를 설정합니다.

MapOutputColumn(Int32, Int32, Int32, Boolean)

IDTSOutputColumn100 열과 해당 IDTSExternalMetadataColumn100 열 사이의 관계를 설정합니다.

OnDeletingInputColumn(Int32, Int32)

IDTSInputColunn100 개체가 구성 요소의 IDTSInputColumnCollection100에서 삭제될 때 호출됩니다.

OnInputPathAttached(Int32)

구성 요소의 IDTSInput100 개체가 다운스트림 구성 요소에 연결될 때 호출됩니다.

OnInputPathDetached(Int32)

구성 요소의 IDTSInput100 개체와 업스트림 구성 요소의 연결이 끊어질 때 호출됩니다.

OnOutputPathAttached(Int32)

구성 요소의 IDTSOutput100 개체가 다운스트림 구성 요소에 연결될 때 호출됩니다.

PerformUpgrade(Int32)

구성 요소 메타데이터를 로컬 컴퓨터에 설치된 구성 요소 버전으로 업그레이드합니다.

PostExecute()

구성 요소에서 데이터 행 처리를 마친 후 완료해야 할 태스크를 수행합니다.

PreExecute()

PrepareForExecute() 메서드 실행 후, 구성 요소에서 데이터 행 처리를 시작하기 전에 완료해야 할 태스크를 수행합니다.

PrepareForExecute()

구성 요소에서 데이터 행 처리를 시작하기 전과 PreExecute() 메서드를 실행하기 전에 완료해야 할 태스크를 수행합니다.

PrimeOutput(Int32, Int32, IDTSBuffer100)

데이터 흐름의 출력 버퍼에 행을 추가합니다.

ProcessInput(Int32, IDTSBuffer100)

업스트림 구성 요소에서 입력 버퍼에 받은 데이터 행을 처리합니다.

ProvideComponentProperties()

구성 요소의 IDTSComponentMetaData100을 초기화하거나 다시 설정합니다.

ReinitializeMetaData()

IDTSComponentMetaData100 메서드를 실행하는 동안 구성 요소에서 식별된 Validate() 개체의 문제를 구성 요소에서 복구하기 위해 호출됩니다.

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)

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

SetInputProperty(Int32, String, Object)

구성 요소에 있는 IDTSCustomProperty100 개체의 IDTSInput100에 값을 할당합니다.

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

IDTSOutputColumn100 개체의 데이터 형식 속성을 설정합니다.

SetOutputColumnProperty(Int32, Int32, String, Object)

IDTSCustomProperty100 개체의 IDTSOutputColumn100에 값을 할당합니다.

SetOutputProperty(Int32, String, Object)

이 메서드를 호출하여 구성 요소의 IDTSCustomProperty100 개체에 대한 IDTSOutput100을 설정합니다.

SetUsageType(Int32, IDTSVirtualInput100, Int32, DTSUsageType)

IDTSInputColumn100 구성 요소의 에 IDTSInputColumnCollection100 개체를 만들고 열의 UsageType 속성을 설정합니다.

Validate()

구성 요소가 올바르게 구성되어 실행할 준비가 되었는지 확인합니다.

적용 대상