Condividi tramite


Metodo IsCompatibleNumericTypes

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

Questa API non è conforme a CLS. L'alternativa conforme a CLS è .

Spazio dei nomi  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

Sintassi

'Dichiarazione
<CLSCompliantAttribute(False)> _
Protected Shared Function IsCompatibleNumericTypes ( _
    dataTypeInp As DataType, _
    dataTypeExt As DataType _
) As Boolean
'Utilizzo
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

Parametri

Valore restituito

Tipo: System. . :: . .Boolean
true if the numeric types are compatible, otherwise, false.