SqlGeography.STWithin méthode (SqlGeography)
Retourne 1 si une instance SqlGeography est spatialement dans une autre instance SqlGeography ; sinon, retourne 0.
Espace de noms: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (dans Microsoft.SqlServer.Types.dll)
Syntaxe
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STWithin(
SqlGeography other
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlBoolean STWithin(
SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STWithin :
other:SqlGeography -> SqlBoolean
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function STWithin (
other As SqlGeography
) As SqlBoolean
Paramètres
other
Type: Microsoft.SqlServer.Types.SqlGeographyLe SqlGeography instance à comparer à l’instance appelante.
Valeur de retour
Type: System.Data.SqlTypes.SqlBoolean
1 si l'instance SqlGeography est à l'intérieur de l'autre instance SqlGeography.
Voir aussi
SqlGeography classe
Microsoft.SqlServer.Types espace de noms
STWithin (type de données geography)
Retour au début