SqlGeography.STOverlaps 메서드

Returns 1 if a SqlGeography instance spatially overlaps another SqlGeography instance, or 0 if it does not.

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

구문

‘선언
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STOverlaps ( _
    other As SqlGeography _
) As SqlBoolean
‘사용 방법
Dim instance As SqlGeography 
Dim other As SqlGeography 
Dim returnValue As SqlBoolean 

returnValue = instance.STOverlaps(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STOverlaps(
    SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STOverlaps(
    SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STOverlaps : 
        other:SqlGeography -> SqlBoolean
public function STOverlaps(
    other : SqlGeography
) : SqlBoolean

매개 변수

반환 값

유형: System.Data.SqlTypes.SqlBoolean
1 if the two instances overlap; otherwise, 0.

참고 항목

참조

SqlGeography 클래스

Microsoft.SqlServer.Types 네임스페이스

관련 자료

STOverlaps(geography 데이터 형식)