Share via


SqlGeography.STIntersects, méthode (SqlGeography)

 

Détermine si l'instance SqlGeography actuelle entre en intersection avec le SqlGeography spécifié.

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

Syntaxe

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

Paramètres

Valeur de retour

Type: System.Data.SqlTypes.SqlBoolean

Valeur SqlBoolean qui indique si l'instance SqlGeography appelante entre en intersection avec une autre instance SqlGeography. Retourne true s'il existe une intersection. Sinon, valeur false.

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