다음을 통해 공유


IsCompatibleNumericTypes 메서드

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

이 API는 CLS 규격이 아닙니다. CLS 규격 대체 항목은 입니다.

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline
어셈블리:  Microsoft.SqlServer.PipelineHost(Microsoft.SqlServer.PipelineHost.dll)

구문

‘선언
<CLSCompliantAttribute(False)> _
Protected Shared Function IsCompatibleNumericTypes ( _
    dataTypeInp As DataType, _
    dataTypeExt As DataType _
) As Boolean
‘사용 방법
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

매개 변수

반환 값

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