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