SqlGeography.STDisjoint 메서드

SQL Server 2012

Determines whether the calling SqlGeography instance is spatially disjoint from the specified SqlGeography instance.

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

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

매개 변수

유형: Microsoft.SqlServer.Types.SqlGeography
A SqlGeography instance to compare against the instance on which STDisjoint is invoked.

반환 값

유형: System.Data.SqlTypes.SqlBoolean
A SqlBoolean value that indicates whether the SqlGeography instance is spatially disjointed from the specified SqlGeography. If the instances are spatially disjointed, this method returns true. Otherwise, false.

Two geography instances are disjoint if the intersection of their point sets is empty.

This method always returns null if the spatial reference IDs (SRIDs) of the SqlGeography instances do not match.