Condividi tramite


Metodo SqlGeography.STSymDifference

Returns an object representing all points that are either in one SqlGeography instance or another SqlGeography instance, but not those points that lie in both instances.

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

Sintassi

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

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

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Types.SqlGeography
A SqlGeography instance that contains all points unique to the calling SqlGeography and to the specified SqlGeography.

Osservazioni

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

Vedere anche

Riferimento

SqlGeography Classe

Spazio dei nomi Microsoft.SqlServer.Types