SqlGeography.STEquals Method (SqlGeography)

 

Determines whether the specified SqlGeography instance has the same point set as the calling SqlGeography instance.

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

No code example is currently available or this language may not be supported.

Parameters

other
Type: Microsoft.SqlServer.Types.SqlGeography

Is a SqlGeography instance to compare against the instance on which STEquals is invoked.

Return Value

Type: System.Data.SqlTypes.SqlBoolean

A SqlBoolean value that indicates whether the calling instance has the same point set as the specified SqlGeography instance. If true, both instances have the same point set. Otherwise, false.

This method always returns null if the spatial reference IDs (SRIDs) of the geography instances do not match.

Return to top
Show: