SqlGeography.STIntersects(SqlGeography) Method

Definition

Determines whether the current SqlGeography instance intersects with the specified SqlGeography.

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

Parameters

other
SqlGeography

The SqlGeography instance to compare against the instance on which STIntersects(SqlGeography) is invoked.

Returns

A SqlBoolean value that indicates if the calling SqlGeography instance intersects another SqlGeography instance. Returns true if there is an intersection. Otherwise, false.

Attributes

Applies to