Freigeben über


SqlGeography.STDifference(SqlGeography) Method

Definition

Returns an object representing the points from one SqlGeography instance that do not lie within another SqlGeography instance.

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

Parameters

other
SqlGeography

Another SqlGeography instance that indicates which points to remove from the instance on which this method is being invoked.

Returns

A SqlGeography value that represents all of the points that are unique to the calling instance.

Attributes

Applies to