CManagedComponentWrapperClass クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
public ref class CManagedComponentWrapperClass : Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2012::CManagedComponentWrapper, Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2012::IDTSRuntimeComponent100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("874F7595-FB5F-40FF-96AF-FBFF8250E3EF")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FAggregatable | System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class CManagedComponentWrapperClass : Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.CManagedComponentWrapper, Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.IDTSRuntimeComponent100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("874F7595-FB5F-40FF-96AF-FBFF8250E3EF")>]
[<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インターフェースによって定義され、プロパティやコレクションコンポーネントを修正するために使用されます。 CManagedComponentWrapperインターフェースは、コンポーネントのIDTSComponentMetaData100インターフェースのInstantiateメソッドを呼び出したときに返されます。 このインターフェースはCManagedComponentWrapperClassのインスタンスにキャストできますが、それに利点はありません。 したがって、通常このクラスは使用されません。
コンストラクター
| 名前 | 説明 |
|---|---|
| CManagedComponentWrapperClass() | |
プロパティ
| 名前 | 説明 |
|---|---|
| BufferManager | |
| ComponentMetaData | |
| EventInfos | |
| LogEntryInfos | |
| ReferenceTracker | |
| RequiredProductLevel | |
| VariableDispenser | |
メソッド
適用対象
スレッド セーフ
このタイプの公開スタティック(Visual Basicで共有)メンバーはスレッド安全です。 インスタンス メンバーがスレッド セーフであるとは限りません。