Export (0) Print
Expand All
Expand Minimize

SqlGeometry.STUnion Method

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)

'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STUnion ( _
	other As SqlGeometry _
) As SqlGeometry
'Usage
Dim instance As SqlGeometry 
Dim other As SqlGeometry 
Dim returnValue As SqlGeometry 

returnValue = instance.STUnion(other)

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 Nothing if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match.

Community Additions

ADD
Show:
© 2014 Microsoft