Freigeben über


SqlGeography.STContains(SqlGeography) Method

Definition

Specifies whether the calling SqlGeography instance spatially contains the SqlGeography instance passed to the method.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlBoolean STContains (Microsoft.SqlServer.Types.SqlGeography other);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STContains : Microsoft.SqlServer.Types.SqlGeography -> System.Data.SqlTypes.SqlBoolean
Public Function STContains (other As SqlGeography) As SqlBoolean

Parameters

other
SqlGeography

The SqlGeography instance to check if it is contained within the calling instance.

Returns

true if the calling instance contains the other instance; otherwise, false.

Attributes

Applies to