SqlGeography.STUnion Method (SqlGeography)
Applies To: SQL Server 2016 Preview
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)
Syntax
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeography STUnion(
SqlGeography other
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlGeography^ STUnion(
SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STUnion :
other:SqlGeography -> SqlGeography
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function STUnion (
other As SqlGeography
) As SqlGeography
Parameters
other
Type: Microsoft.SqlServer.Types.SqlGeographyThe 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.
Remarks
This method always returns null if the Spatial Reference Identifiers (SRIDs) of the SqlGeography instances do not match.
See Also
SqlGeography Class
Microsoft.SqlServer.Types Namespace
Return to top