SqlGeography.STContains(SqlGeography) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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