IsCompatibleNumericTypes Método
Determines whether two numeric data types are compatible to support a conversion from one type to the other.
Esta API no es compatible con CLS. La alternativa compatible con CLS es .
Espacio de nombres: Microsoft.SqlServer.Dts.Pipeline
Ensamblado: Microsoft.SqlServer.PipelineHost (en Microsoft.SqlServer.PipelineHost.dll)
Sintaxis
'Declaración
<CLSCompliantAttribute(False)> _
Protected Shared Function IsCompatibleNumericTypes ( _
dataTypeInp As DataType, _
dataTypeExt As DataType _
) As Boolean
'Uso
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
Parámetros
- dataTypeInp
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .DataType
The numeric data type of the column to be converted.
- dataTypeExt
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .DataType
The numeric data type of the destination column.
Valor devuelto
Tipo: System. . :: . .Boolean
true if the numeric types are compatible, otherwise, false.