SqlGeography.STOverlaps(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.
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