CManagedComponentWrapperClass 클래스

정의

public ref class CManagedComponentWrapperClass : Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2014::CManagedComponentWrapper, Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2014::IDTSRuntimeComponent100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("33D831DE-5DCF-48F0-B431-4D327B9E785D")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FAggregatable | System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class CManagedComponentWrapperClass : Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.CManagedComponentWrapper, Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.IDTSRuntimeComponent100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("33D831DE-5DCF-48F0-B431-4D327B9E785D")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FAggregatable | System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
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의 인스턴스로 캐스팅할 수 있지만 이 작업을 수행하는 데는 이점이 없으므로 일반적으로 이 클래스는 사용되지 않습니다.

생성자

CManagedComponentWrapperClass()

속성

BufferManager
ComponentMetaData
EventInfos
LogEntryInfos
ReferenceTracker
RequiredProductLevel
VariableDispenser

메서드

AcquireConnections(Object)
Cleanup()
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)
PerformUpgrade(Int32)
PostExecute()
PreExecute()
PrepareForExecute()
PrimeOutput(Int32, Int32, IDTSBuffer100)
ProcessInput(Int32, IDTSBuffer100)
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()

적용 대상

스레드 보안

이 형식의 모든 공용 정적(Visual Basic에서 공유 ) 멤버는 스레드로부터 안전합니다. 인스턴스 구성원은 스레드로부터의 안전성이 보장되지 않습니다.