CManagedComponentWrapper 인터페이스

정의

public interface class CManagedComponentWrapper : Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2014::IDTSDesigntimeComponent100
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.CManagedComponentWrapperClass))]
[System.Runtime.InteropServices.Guid("0058874E-E037-4BA9-920C-349773B5351A")]
public interface CManagedComponentWrapper : Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.IDTSDesigntimeComponent100
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.CManagedComponentWrapperClass))>]
[<System.Runtime.InteropServices.Guid("0058874E-E037-4BA9-920C-349773B5351A")>]
type CManagedComponentWrapper = interface
    interface IDTSDesigntimeComponent100
Public Interface CManagedComponentWrapper
Implements IDTSDesigntimeComponent100
파생
특성
구현

예제

다음 코드 예제에서는 프로그래밍 방식으로 데이터 흐름 작업에 구성 요소를 추가하고 디자인 타임 인터페이스의 인스턴스를 만드는 방법을 보여 줍니다.

using System;  
using Microsoft.SqlServer.Dts.Runtime;  
using Microsoft.SqlServer.Dts.Pipeline.Wrapper;  

namespace Microsoft.Samples.SqlServer.Dts  
{  
    class CreateComponent  
    {  
         [STAThread]  
        static void Main(string[] args)  
        {  
            // Create the package.  
            Package p = new Package();  

            // Add the data flow task to the package.  
            MainPipe dataFlowTask = ((TaskHost)p.Executables.Add("DTS.Pipeline.1")).InnerObject as MainPipe;  

            if (dataFlowTask != null)  
            {  
                // Add a component to the data flow task.  
                IDTSComponentMetaData100 metaData = dataFlowTask.ComponentMetaDataCollection.New();  

                // Set the class id of the component.  
                metaData.ComponentClassID = "";  

                // Create an instance of the component.  
                CManagedComponentWrapper wrapper = metaData.Instantiate();  

                // Initialize the component by calling ProvideComponentProperties.  
                wrapper.ProvideComponentProperties();  
            }  
        }  
    }  
}  
See Also  
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace  
Return   

설명

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

인터페이스에서 정의한 메서드와 속성은 CManagedComponentWrapperClass 및 IDTSDesigntimeComponent100 형식 모두에 표시됩니다.

메서드

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)

적용 대상