Export (0) Print
Expand All
Expand Minimize

SqlGeography.STUnion Method

Returns an object representing the union of a SqlGeography instance with another SqlGeography 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 SqlGeography _
) As SqlGeography
'Usage
Dim instance As SqlGeography 
Dim other As SqlGeography 
Dim returnValue As SqlGeography 

returnValue = instance.STUnion(other)

Parameters

other
Type: Microsoft.SqlServer.Types.SqlGeography
The SqlGeography instance to form a union with the instance on which STUnion is being invoked.

Return Value

Type: Microsoft.SqlServer.Types.SqlGeography
A SqlGeography object representing the union of the SqlGeography objects.

This method always returns null if the Spatial Reference Identifiers (SRIDs) of the SqlGeography instances do not match.

Community Additions

ADD
Show:
© 2014 Microsoft