SqlGeometry.STContains(SqlGeometry) Method

Definition

Specifies whether the calling SqlGeometry instance completely contains another SqlGeometry.

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

Parameters

other
SqlGeometry

The SqlGeometry instance to compare against the instance on which STContains(SqlGeometry) is invoked.

Returns

Returns true if a SqlGeometry instance completely contains another SqlGeometry instance. Otherwise, returns false.

Attributes

Applies to