Share via


SqlGeometry.STEquals(SqlGeometry) Method

Definition

Determines whether the specified SqlGeometry has a point set identical to the calling SqlGeometry.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlBoolean STEquals (Microsoft.SqlServer.Types.SqlGeometry other);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STEquals : Microsoft.SqlServer.Types.SqlGeometry -> System.Data.SqlTypes.SqlBoolean
Public Function STEquals (other As SqlGeometry) As SqlBoolean

Parameters

other
SqlGeometry

The SqlGeometry instance to compare against the calling instance.

Returns

Returns true if the SqlGeometry instance represents the same point set as the specified SqlGeometry. Returns false if it does not.

Attributes

Applies to