SqlGeography.STWithin(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.
Returns 1 if a SqlGeography instance is spatially within another SqlGeography instance; otherwise, returns 0.
[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlBoolean STWithin (Microsoft.SqlServer.Types.SqlGeography other);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STWithin : Microsoft.SqlServer.Types.SqlGeography -> System.Data.SqlTypes.SqlBoolean
Public Function STWithin (other As SqlGeography) As SqlBoolean
Parameters
- other
- SqlGeography
The SqlGeography instance to compare to the calling instance.
Returns
1 if the SqlGeography is within the other SqlGeography instance.
- Attributes