Sdílet prostřednictvím


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);
[<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

Parameters

dataTypeInp
DataType

The numeric data type of the column to be converted.

dataTypeExt
DataType

The numeric data type of the destination column.

Returns

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

Attributes

Applies to