Partager via


SqlGeography.STDisjoint, méthode (SqlGeography)

 

Détermine si l'instance SqlGeography appelante est spatialement disjointe de l'instance SqlGeography spécifiée.

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

Syntaxe

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

Paramètres

Valeur de retour

Type: System.Data.SqlTypes.SqlBoolean

Valeur SqlBoolean qui indique si l'instance SqlGeography est spatialement disjointe du SqlGeography spécifié. Si les instances sont spatialement disjointes, cette méthode retourne true. Sinon, valeur false.

Notes

Deux instances geography sont disjointes si l'intersection de leurs ensembles de points est vide.

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