語言

IDTSComponentMetaData100 介面

定義

包含資料流程元件的定義,包括自訂屬性、輸入、輸出,以及定義在資料流程元件上的輸入與輸出欄位。

public interface class IDTSComponentMetaData100 : Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSObject100
[System.Runtime.InteropServices.Guid("A7260CEC-4F9E-422E-907B-1EE0671AA7E1")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSComponentMetaData100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("C5C8827B-60EC-4B5A-9D14-724A5683811F")]
public interface IDTSComponentMetaData100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("EEF33B13-9453-4129-98FD-1F0C1825CA73")]
public interface IDTSComponentMetaData100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
[<System.Runtime.InteropServices.Guid("A7260CEC-4F9E-422E-907B-1EE0671AA7E1")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSComponentMetaData100 = interface
    interface IDTSObject100
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("C5C8827B-60EC-4B5A-9D14-724A5683811F")>]
type IDTSComponentMetaData100 = interface
    interface IDTSObject100
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("EEF33B13-9453-4129-98FD-1F0C1825CA73")>]
type IDTSComponentMetaData100 = interface
    interface IDTSObject100
Public Interface IDTSComponentMetaData100
Implements IDTSObject100
衍生
屬性
實作

備註

描述 IDTSComponentMetaData100 資料流元件的佈局。 它包含輸入與輸出物件、輸入與輸出欄位,以及元件的自訂屬性。 它也包含識別在設計時及元件執行過程中所建立的組件(DLL)的資訊。 透過建立新元件、使用該New方法,或存取該類別集合MainPipeClass中的ComponentMetaDataCollection現有元件,來取得元件的元資料參考。

屬性

名稱 Description
AreInputColumnsValid

會取得一個值,表示輸入欄位是否參考 IDTSComponentMetaData100 上游元件的現有欄位。

ComponentClassID

取得或設定由元件元資料描述的元件的 CLSID。

ContactInfo

取得或設定元件開發者的聯絡資訊。

CustomPropertyCollection

取得由元件暴露的自訂屬性集合。

Description

取得或設定元件的描述。

ID

取得或設定元件的識別碼。

IdentificationString

會得到一個唯一識別元件的字串。

InputCollection

取得元件的物件集合 IDTSInput100 。

IsDefaultLocale

會得到一個值,表示元件所使用的區域是否為該元件執行的電腦的預設區域。

LocaleID

取得或設定元件所使用的區域識別碼。

Name

取得或設定元件名稱。

ObjectType

會得到一個值,表示該元件是資料流程元件。

OutputCollection

取得由元件定義的物件集合 IDTSOutput100 。

PipelineVersion

取得或設定元件設計執行的資料流任務版本。

RuntimeConnectionCollection

取得元件的物件集合 IDTSRuntimeConnection100 。

UsesDispositions

取得或設定一個值,指示元件是否使用傾向。

ValidateExternalMetadata

取得或設定一個值,指示元件是否在設計時對其欄位中繼資料與外部資料來源進行驗證。

Version

取得或設定元件的版本。

方法

名稱 Description
FireCustomEvent(String, String, Object[], String, Boolean)

會觸發由元件定義的自訂事件。

FireError(Int32, String, String, String, Int32, Boolean)

引發事件 OnError(IDTSRuntimeObject100, Int32, String, String, String, Int32, String, Boolean) 。

FireInformation(Int32, String, String, String, Int32, Boolean)

引發事件 OnInformation(IDTSRuntimeObject100, Int32, String, String, String, Int32, String, Boolean) 。

FireProgress(String, Int32, Int32, Int32, String, Boolean)

引發事件 OnProgress(TaskHost, String, Int32, Int32, Int32, String, Boolean) 。

FireWarning(Int32, String, String, String, Int32)

引發事件 OnWarning(IDTSRuntimeObject100, Int32, String, String, String, Int32, String) 。

GetComponentView()

取得 IDTSComponentView100 元件介面,支援元件元資料的交易編輯。

GetErrorDescription(Int32)

會獲得內部整合服務錯誤代碼的描述。

IncrementPipelinePerfCounter(UInt32, UInt32)

增加資料流效能計數器。

Instantiate()

建立由 ComponentClassID 屬性指定的元件實例。

PostLogMessage(String, String, String, DateTime, DateTime, Int32, Byte[])

在套件日誌中寫入一條紀錄。

RemoveInvalidInputColumns()

移除 中的無效 IDTSInputColumn100 物件 IDTSInputColumnCollection100。

Validate()

呼叫元件元資料的驗證。

適用於