SqlGeography.Filter 메서드

SQL Server 2012

Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available.

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

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

매개 변수

other
유형: Microsoft.SqlServer.Types.SqlGeography
Is another geography instance to compare against the instance on which Filter is invoked.

반환 값

유형: System.Data.SqlTypes.SqlBoolean
A SqlBoolean value that specifies whether the specified SqlGeography instance intersects the current SqlGeography.Returns 1 if a geography instance potentially intersects another SqlGeography instance. This method may produce a false-positive return, and the exact result may be plan-dependent. Returns an accurate 0 value (true negative return) if there is no intersection of SqlGeography instances found.

In cases where an index is not available, or is not used, the method will return the same values as STIntersects when called with the same parameters.

This method is not deterministic and is not precise.

커뮤니티 추가 항목

추가
표시: