SqlGeography.STWithin 메서드

SQL Server 2012

Returns 1 if a SqlGeography instance is spatially within another SqlGeography instance; otherwise, returns 0.

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STWithin(
	SqlGeography other
)

매개 변수

other
유형: Microsoft.SqlServer.Types.SqlGeography
The SqlGeography instance to compare to the calling instance.

반환 값

유형: System.Data.SqlTypes.SqlBoolean
1 if the SqlGeography is within the other SqlGeography instance.

커뮤니티 추가 항목

추가
표시: