언어

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
특성
구현

예제

다음 코드 예시는 데이터 플로우 작업에 컴포넌트를 추가하고 메서드를 Instantiate 호출하여 인터페이스 인스턴스 CManagedComponentWrapper 를 검색합니다.

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 정의되며, 속성과 컬렉션 구성 요소를 수정하는 데 사용됩니다. 컴포넌트 인터페이스의 IDTSComponentMetaData100 메서드가 호출되면 Instantiate 인터페이스가 CManagedComponentWrapper 반환됩니다. 이 인터페이스는 의 CManagedComponentWrapperClass 인스턴스로 캐스트할 수 있지만, 이를 수행하는 데 이점이 없습니다. 따라서 일반적으로 이 클래스는 사용되지 않습니다.

생성자

Name Description
CManagedComponentWrapperClass()

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

속성

Name Description
BufferManager

컴포넌트의 객체를 IDTSBufferManager100 설정합니다.

ComponentMetaData

컴포넌트의 객체를 IDTSComponentMetaData100 설정합니다

EventInfos

컴포넌트와 연관된 컬렉션을 IDTSEventInfos100 설정합니다.

LogEntryInfos

객체를 IDTSLogEntryInfos100 컴포넌트로 가져옵니다.

ReferenceTracker

컴포넌트와 연관된 객체를 IDTSObjectReferenceTracker100 설정합니다.

RequiredProductLevel

데이터 흐름 구성 요소가 요구하는 SQL Server 에디션을 나타내는 값을 받습니다.

VariableDispenser

컴포넌트와 연관된 객체를 IDTSVariableDispenser100 설정합니다.

메서드

Name Description
AcquireConnections(Object)

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

Cleanup()

자원을 해제하고 컴포넌트 실행 후 정리를 해줍니다.

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)

컴포넌트의 객체 IDTSInputCollection100 를 추가합니다IDTSInput100.

InsertOutput(DTSInsertPlacement, Int32)

컴포넌트에 새로운 IDTSOutput100 객체를 추가합니다.

InsertOutputColumnAt(Int32, Int32, String, String)

IDTSOutputColumn100 객체를 생성하여 컴포넌트의 에 IDTSOutputColumnCollection100 삽입합니다.

MapInputColumn(Int32, Int32, Int32)

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

MapOutputColumn(Int32, Int32, Int32, Boolean)

열과 대응 IDTSExternalMetadataColumn100 하는 열 간의 IDTSOutputColumn100 관계를 확립합니다.

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()

메서드 중에 Validate() 해당 컴포넌트가 식별한 객체의 IDTSComponentMetaData100 문제를 수정할 수 있도록 호출되었습니다.

ReleaseConnections()

구성 요소가 동안 AcquireConnections(Object)형성한 연결을 해제합니다.

SetComponentProperty(String, Object)

컴포넌트의 a 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)

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

Validate()

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

적용 대상