Partager via


SqlGeography.STDifference, méthode (SqlGeography)

 

Retourne un objet qui représente les points d'une instance SqlGeography qui ne se trouvent pas dans une autre instance SqlGeography.

Espace de noms:   Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (dans Microsoft.SqlServer.Types.dll)

Syntaxe

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeography STDifference(
    SqlGeography other
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlGeography^ STDifference(
    SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STDifference : 
        other:SqlGeography -> SqlGeography
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function STDifference (
    other As SqlGeography
) As SqlGeography

Paramètres

Valeur de retour

Type: Microsoft.SqlServer.Types.SqlGeography

Valeur SqlGeography qui représente tous les points qui sont propres à l'instance appelante.

Notes

Cette méthode retourne toujours Null si les ID de référence spatiaux (SRID) des instances SqlGeography ne correspondent pas.

Voir aussi

SqlGeography, classe
Microsoft.SqlServer.Types, espace de noms

Retour au début