PipelineComponent.IsCompatibleNumericTypes(DataType, DataType) PipelineComponent.IsCompatibleNumericTypes(DataType, DataType) PipelineComponent.IsCompatibleNumericTypes(DataType, DataType) Method

Definition

Important

This API is not CLS-compliant.

Determines whether two numeric data types are compatible to support a conversion from one type to the other.

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);
Protected Shared Function IsCompatibleNumericTypes (dataTypeInp As DataType, dataTypeExt As DataType) As Boolean
Parameters
dataTypeInp
DataType DataType DataType

The numeric data type of the column to be converted.

dataTypeExt
DataType DataType DataType

The numeric data type of the destination column.

Returns

true if the numeric types are compatible, otherwise, false.

Applies to