Partager via


SqlGeography.STContains méthode (SqlGeography)

 

Spécifie si l'instance SqlGeography appelante contient spatialement l'instance SqlGeography passée à la méthode.

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

Syntaxe

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

Paramètres

Valeur de retour

Type: System.Data.SqlTypes.SqlBoolean

true si l'instance appelante contient l'instance other ; sinon, false.

Voir aussi

SqlGeography classe
Microsoft.SqlServer.Types espace de noms
STContains (Type de données geography)

Retour au début