Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PipelineComponent.IsCompatibleNumericTypes Method (DataType, DataType)

 

Applies To: SQL Server 2016 Preview

clsCompliantAlternative

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

Namespace:   Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

[CLSCompliantAttribute(false)]
protected static bool IsCompatibleNumericTypes(
	DataType dataTypeInp,
	DataType dataTypeExt
)

Parameters

dataTypeInp
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType

The numeric data type of the column to be converted.

dataTypeExt
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType

The numeric data type of the destination column.

Return Value

Type: System.Boolean

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

Return to top
Show:
© 2015 Microsoft