Expand Minimize
This topic has not yet been rated - Rate this topic

SqlGeometry.STSymDifference Method

Returns an object that represents all points that are either in one SqlGeometry instance or another SqlGeometry 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 SqlGeometry STSymDifference(
	SqlGeometry other
)

Parameters

other
Type: Microsoft.SqlServer.Types.SqlGeometry
The SqlGeometry instance to compare to the current SqlGeometry.

Return Value

Type: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry object that represents all points in the calling SqlGeometry and the specified SqlGeometry instances that are not present in both instances..

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

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.