Export (0) Print
Expand All
Expand Minimize

SqlGeography.STEquals Method

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
)

Parameters

other
Type: Microsoft.SqlServer.Types.SqlGeography
Is a SqlGeography instance to compare against the instance on which STEquals is invoked.

Return Value

Type: 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft