Share via


SqlGeography.STOverlaps(SqlGeography) Method

Definition

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

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlBoolean STOverlaps (Microsoft.SqlServer.Types.SqlGeography other);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STOverlaps : Microsoft.SqlServer.Types.SqlGeography -> System.Data.SqlTypes.SqlBoolean
Public Function STOverlaps (other As SqlGeography) As SqlBoolean

Parameters

other
SqlGeography

The SqlGeography instance to check if it overlaps with the calling instance.

Returns

1 if the two instances overlap; otherwise, 0.

Attributes

Applies to