CManagedComponentWrapperClass 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
데이터 흐름 구성 요소의 설계 시 인스턴스를 나타냅니다.
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 설정합니다. |