CManagedComponentWrapperClass 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
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 |
메서드
적용 대상
스레드 보안
이 형식의 모든 공용 정적(Visual Basic에서 공유 ) 멤버는 스레드로부터 안전합니다. 인스턴스 구성원은 스레드로부터의 안전성이 보장되지 않습니다.