Bagikan melalui


CManagedComponentWrapperClass Kelas

Definisi

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
Warisan
CManagedComponentWrapperClass
Atribut
Penerapan

Contoh

Contoh kode berikut menambahkan komponen ke tugas aliran data dan mengambil instans antarmuka CManagedComponentWrapper dengan memanggil metode Instantiate.

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();  

Keterangan

CManagedComponentWrapperClass mewakili instans waktu desain komponen aliran data dan merupakan objek yang digunakan saat memodifikasi komponen secara terprogram dalam tugas aliran data. Metode kelas ini ditentukan oleh antarmuka IDTSDesigntimeComponent100 dan digunakan untuk memodifikasi komponen properti dan koleksi. Antarmuka CManagedComponentWrapper dikembalikan ketika metode Instantiate antarmuka IDTSComponentMetaData100 komponen dipanggil. Antarmuka ini dapat ditransmisikan ke instans CManagedComponentWrapperClass tetapi tidak ada keuntungan untuk melakukan ini. Oleh karena itu, biasanya kelas ini tidak digunakan.

Konstruktor

CManagedComponentWrapperClass()

Properti

BufferManager
ComponentMetaData
EventInfos
LogEntryInfos
ReferenceTracker
RequiredProductLevel
VariableDispenser

Metode

AcquireConnections(Object)
Cleanup()
DeleteExternalMetadataColumn(Int32, Int32)
DeleteInput(Int32)
DeleteOutput(Int32)
DeleteOutputColumn(Int32, Int32)
DescribeRedirectedErrorCode(Int32)
GetEnumerationCollection(String)
InsertExternalMetadataColumnAt(Int32, Int32, String, String)
InsertInput(DTSInsertPlacement, Int32)
InsertOutput(DTSInsertPlacement, Int32)
InsertOutputColumnAt(Int32, Int32, String, String)
MapInputColumn(Int32, Int32, Int32)
MapOutputColumn(Int32, Int32, Int32, Boolean)
OnDeletingInputColumn(Int32, Int32)
OnInputPathAttached(Int32)
OnInputPathDetached(Int32)
OnOutputPathAttached(Int32)
PerformUpgrade(Int32)
PostExecute()
PreExecute()
PrepareForExecute()
PrimeOutput(Int32, Int32, IDTSBuffer100)
ProcessInput(Int32, IDTSBuffer100)
ProvideComponentProperties()
ReinitializeMetaData()
ReleaseConnections()
SetComponentProperty(String, Object)
SetExternalMetadataColumnDataTypeProperties(Int32, Int32, DataType, Int32, Int32, Int32, Int32)
SetExternalMetadataColumnProperty(Int32, Int32, String, Object)
SetInputColumnProperty(Int32, Int32, String, Object)
SetInputProperty(Int32, String, Object)
SetOutputColumnDataTypeProperties(Int32, Int32, DataType, Int32, Int32, Int32, Int32)
SetOutputColumnProperty(Int32, Int32, String, Object)
SetOutputProperty(Int32, String, Object)
SetUsageType(Int32, IDTSVirtualInput100, Int32, DTSUsageType)
Validate()

Berlaku untuk

Keamanan Thread

Setiap anggota statis publik ( Dibagikan dalam Visual Basic) jenis ini aman untuk utas. Setiap anggota instans tidak dijamin aman untuk utas.