SqlGeography.STDifference(SqlGeography) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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