Partager via


Méthode SqlGeography.STOverlaps

Returns 1 if a SqlGeography instance spatially overlaps another SqlGeography instance, or 0 if it does not.

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

Syntaxe

'Déclaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STOverlaps ( _
    other As SqlGeography _
) As SqlBoolean
'Utilisation
Dim instance As SqlGeography 
Dim other As SqlGeography 
Dim returnValue As SqlBoolean 

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

Paramètres

Valeur de retour

Type : System.Data.SqlTypes.SqlBoolean
1 if the two instances overlap; otherwise, 0.

Voir aussi

Référence

SqlGeography Classe

Espace de noms Microsoft.SqlServer.Types

Autres ressources

STOverlaps (type de données geography)