Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether two numeric data types are compatible to support a conversion from one type to the other.
This API is not CLS-compliant. The CLS-compliant alternative is .
Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Protected Shared Function IsCompatibleNumericTypes ( _
dataTypeInp As DataType, _
dataTypeExt As DataType _
) As Boolean
'Usage
Dim dataTypeInp As DataType
Dim dataTypeExt As DataType
Dim returnValue As Boolean
returnValue = PipelineComponent.IsCompatibleNumericTypes(dataTypeInp, _
dataTypeExt)
[CLSCompliantAttribute(false)]
protected static bool IsCompatibleNumericTypes(
DataType dataTypeInp,
DataType dataTypeExt
)
[CLSCompliantAttribute(false)]
protected:
static bool IsCompatibleNumericTypes(
DataType dataTypeInp,
DataType dataTypeExt
)
[<CLSCompliantAttribute(false)>]
static member IsCompatibleNumericTypes :
dataTypeInp:DataType *
dataTypeExt:DataType -> bool
protected static function IsCompatibleNumericTypes(
dataTypeInp : DataType,
dataTypeExt : DataType
) : boolean
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.