Export (0) Print
Expand All
Expand Minimize

SqlGeography.STSymDifference Method

Returns an object representing all points that are either in one SqlGeography instance or another SqlGeography instance, but not those points that lie in both instances.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeography STSymDifference(
	SqlGeography other
)

Parameters

other
Type: Microsoft.SqlServer.Types.SqlGeography
The SqlGeography instance to be compared to the current SqlGeography.

Return Value

Type: Microsoft.SqlServer.Types.SqlGeography
A SqlGeography instance that contains all points unique to the calling SqlGeography and to the specified SqlGeography.

This method always returns null if the spatial reference IDs (SRIDs) of the SqlGeography instances do not match.

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

Community Additions

ADD
Show:
© 2014 Microsoft