Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlGeometry.STUnion Method (SqlGeometry)

 

Applies To: SQL Server 2016 Preview

Returns an object that represents the union of a SqlGeometry instance with another SqlGeometry instance.

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

[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STUnion : 
        other:SqlGeometry -> SqlGeometry

Parameters

other
Type: Microsoft.SqlServer.Types.SqlGeometry

The SqlGeometry instance to combine with the current SqlGeometry.

Return Value

Type: Microsoft.SqlServer.Types.SqlGeometry

A SqlGeometry object that represents the union of the calling SqlGeometry and the specified SqlGeometry.

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

Return to top
Show:
© 2015 Microsoft