SqlGeography.STOverlaps Method (SqlGeography)


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

Namespace:   Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

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


Type: Microsoft.SqlServer.Types.SqlGeography

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

Return Value

Type: System.Data.SqlTypes.SqlBoolean

1 if the two instances overlap; otherwise, 0.

Return to top