Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Specifies whether the calling SqlGeography instance spatially contains the SqlGeography instance passed to the method.
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 STContains ( _
other As SqlGeography _
) As SqlBoolean
'Utilisation
Dim instance As SqlGeography
Dim other As SqlGeography
Dim returnValue As SqlBoolean
returnValue = instance.STContains(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STContains(
SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STContains(
SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STContains :
other:SqlGeography -> SqlBoolean
public function STContains(
other : SqlGeography
) : SqlBoolean
Paramètres
- other
Type : Microsoft.SqlServer.Types.SqlGeography
The SqlGeography instance to check if it is contained within the calling instance.
Valeur de retour
Type : System.Data.SqlTypes.SqlBoolean
true if the calling instance contains the other instance; otherwise, false.
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Types