CManagedComponentWrapper 인터페이스

정의

public interface class CManagedComponentWrapper : Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2012::IDTSDesigntimeComponent100
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.CManagedComponentWrapperClass))]
[System.Runtime.InteropServices.Guid("FF5DD3F1-99C1-4FFB-B097-1B1B2B9E9B2D")]
public interface CManagedComponentWrapper : Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.IDTSDesigntimeComponent100
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.CManagedComponentWrapperClass))>]
[<System.Runtime.InteropServices.Guid("FF5DD3F1-99C1-4FFB-B097-1B1B2B9E9B2D")>]
type CManagedComponentWrapper = interface
    interface IDTSDesigntimeComponent100
Public Interface CManagedComponentWrapper
Implements IDTSDesigntimeComponent100
파생
특성
구현

예제

다음 코드 샘플에서는 구성 요소의 디자인 타임 인스턴스를 사용하여 구성 요소의 사용자 지정 속성을 설정하는 방법을 보여줍니다. 이 예제에서는 구성 요소 메타데이터의 CustomPropertyCollection을 사용하여 속성을 직접 설정할 수 있지만 구성 요소가 속성의 변경 내용을 모니터링하고 응답하는 기능을 무시합니다.

IDTSComponentMetaData100 cmp = dataflowTask.ComponentMetaDataCollection.New();  
cmp.ComponentClassID = "DTSAdapter.OleDbSource";  
CManagedComponentWrapper dtSource = cmp.Instantiate();  
dtSource.SetComponentProperty("SqlCommand","select * from Production.Products");  
Dim cmp As IDTSComponentMetaData100 = dataflowTask.ComponentMetaDataCollection.New   
cmp.ComponentClassID = "DTSAdapter.OleDbSource"   
Dim dtSource As CManagedComponentWrapper = cmp.Instantiate   
dtSource.SetComponentProperty("SqlCommand", "select * from Production.Products")  

설명

CManagedComponentWrapper는 데이터 흐름 구성 요소의 디자인 타임 수정에 사용되는 IDTSDesigntimeComponent100의 인터페이스를 나타냅니다. CManagedComponentWrapper는 디자인 타임 동안 데이터 흐름 구성 요소의 속성 및 열 컬렉션을 구성하는 데 사용됩니다. 구성 요소의 메타데이터는 직접 수정할 수 있지만, 이렇게 하면 해당 메타데이터에 대한 수정의 유효성을 검사하는 구성 요소의 기능을 무시하므로 이를 피해야 합니다. CManagedComponentWrapper 인스턴스는 구성 요소의 IDTSComponentMetaData100 인터페이스의 Instantiate 메서드를 호출하여 만듭니다.

메서드

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

적용 대상