Condividi tramite


Metodo SqlGeography.STUnion

Returns an object representing the union of a SqlGeography instance with another SqlGeography instance.

Spazio dei nomi  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Sintassi

'Dichiarazione
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STUnion ( _
    other As SqlGeography _
) As SqlGeography
'Utilizzo
Dim instance As SqlGeography 
Dim other As SqlGeography 
Dim returnValue As SqlGeography 

returnValue = instance.STUnion(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeography STUnion(
    SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeography^ STUnion(
    SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STUnion : 
        other:SqlGeography -> SqlGeography
public function STUnion(
    other : SqlGeography
) : SqlGeography

Parametri

Valore restituito

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

Osservazioni

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

Vedere anche

Riferimento

SqlGeography Classe

Spazio dei nomi Microsoft.SqlServer.Types