CManagedComponentWrapperClass Class
Represents the design-time instance of a data flow component.
네임스페이스: Microsoft.SqlServer.Dts.Pipeline.Wrapper
어셈블리: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)
구문
‘선언
<GuidAttribute("BF01D463-7089-41EE-8F05-0A6DC17CE633")> _
<ClassInterfaceAttribute(0)> _
<TypeLibTypeAttribute(1026)> _
Public Class CManagedComponentWrapperClass
Implements IDTSDesigntimeComponent90, CManagedComponentWrapper
[GuidAttribute("BF01D463-7089-41EE-8F05-0A6DC17CE633")]
[ClassInterfaceAttribute(0)]
[TypeLibTypeAttribute(1026)]
public class CManagedComponentWrapperClass : IDTSDesigntimeComponent90, CManagedComponentWrapper
[GuidAttribute(L"BF01D463-7089-41EE-8F05-0A6DC17CE633")]
[ClassInterfaceAttribute(0)]
[TypeLibTypeAttribute(1026)]
public ref class CManagedComponentWrapperClass : IDTSDesigntimeComponent90, CManagedComponentWrapper
/** @attribute GuidAttribute("BF01D463-7089-41EE-8F05-0A6DC17CE633") */
/** @attribute ClassInterfaceAttribute(0) */
/** @attribute TypeLibTypeAttribute(1026) */
public class CManagedComponentWrapperClass implements IDTSDesigntimeComponent90, CManagedComponentWrapper
GuidAttribute("BF01D463-7089-41EE-8F05-0A6DC17CE633")
ClassInterfaceAttribute(0)
TypeLibTypeAttribute(1026)
public class CManagedComponentWrapperClass implements IDTSDesigntimeComponent90, CManagedComponentWrapper
주의
The CManagedComponentWrapperClass represents the design-time instance of a data flow component and is the object that is used when programmatically modifying a component in a data flow task. The methods of this class are defined by the IDTSDesigntimeComponent90 interface and are used to modify the properties and collections component. The CManagedComponentWrapper interface is returned when the Instantiate method of the IDTSComponentMetaData90 interface of the component is called. This interface can be cast to an instance of the CManagedComponentWrapperClass but there are no advantages to doing this Therefore, typically this class is not used.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Dts.Pipeline.Wrapper.CManagedComponentWrapperClass
예
The following code example adds a component to a data flow task and retrieves an instance of the CManagedComponentWrapper interface by calling the Instantiate method.
Package p = new Package();
MainPipe mp = ((TaskHost)p.Executables.Add("DTS.Pipeline")).InnerObject as MainPipe;
IDTSComponentMetaData90 md = mp.ComponentMetaDataCollection.New();
md.ComponentClassID = "DTSAdapter.OleDbSource";
CManagedComponentWrapper wrp = md.Instantiate();
스레드 보안
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
CManagedComponentWrapperClass Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace