PipelineComponent.BufferTypeToDataRecordType(DataType) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
重要
此 API 不符合 CLS 規範。
傳回以 Integration Services 資料類型為基礎的 managed 資料類型。
protected:
static Type ^ BufferTypeToDataRecordType(Microsoft::SqlServer::Dts::Runtime::Wrapper::DataType type);
[System.CLSCompliant(false)]
protected static Type BufferTypeToDataRecordType (Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType type);
[<System.CLSCompliant(false)>]
static member BufferTypeToDataRecordType : Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType -> Type
Protected Shared Function BufferTypeToDataRecordType (type As DataType) As Type
參數
傳回
對應至 Integration Services 的 managed 類型 DataType 。
- 屬性
備註
此 helper 函數會取得對應至的 managed 類型 Integration Services DataType 。 它通常會與方法搭配使用 ConvertBufferDataTypeToFitManaged 。
如需詳細資訊,請參閱 使用資料流程中的資料類型。
警告
開發人員應該謹慎使用類別的資料類型對應方法 PipelineComponent ,而且可能會想要撰寫自己的資料類型對應方法的程式碼,這些方法更適合其自訂群組件的獨特需求。 現有方法並未考慮數值的有效位數或小數位數,也未考慮與資料類型本身密切相關的其他屬性。 在未來的版本中,Microsoft 可能會修改或移除這些方法,或修改它們所執行的對應 Integration Services 。