Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

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)

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STEquals(
	SqlGeography 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
© 2016 Microsoft