SqlGeometry.STDifference(SqlGeometry) Method

Definition

Returns an object that represents the points from one SqlGeometry instance that do not lie within another SqlGeometry instance.

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

Parameters

other
SqlGeometry

The SqlGeometry instance indicating which points to remove from the instance on which STDifference(SqlGeometry) is being invoked.

Returns

A SqlGeometry object that represents the unique points in the calling SqlGeometry.

Attributes

Applies to