PipelineComponent.IsCompatibleNumericTypes(DataType, DataType) 方法

定義

重要

此 API 不符合 CLS 規範。

判斷兩個數值資料類型是否相容,可支援彼此之間的轉換。

protected:
 static bool IsCompatibleNumericTypes(Microsoft::SqlServer::Dts::Runtime::Wrapper::DataType dataTypeInp, Microsoft::SqlServer::Dts::Runtime::Wrapper::DataType dataTypeExt);
[System.CLSCompliant(false)]
protected static bool IsCompatibleNumericTypes (Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType dataTypeInp, Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType dataTypeExt);
[<System.CLSCompliant(false)>]
static member IsCompatibleNumericTypes : Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType * Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType -> bool
Protected Shared Function IsCompatibleNumericTypes (dataTypeInp As DataType, dataTypeExt As DataType) As Boolean

參數

dataTypeInp
DataType

要轉換之資料行的數值資料類型。

dataTypeExt
DataType

目的地資料行的數值資料類型。

傳回

Boolean

如果數數值型別相容,則為 true,否則為 false。

屬性

適用於