SqlGeography.STIntersects(SqlGeography) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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