Export (0) Print
Expand All
Expand Minimize

SqlGeography.STWithin Method

Returns 1 if a SqlGeography instance is spatially within another SqlGeography instance; otherwise, returns 0.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STWithin : 
        other:SqlGeography -> SqlBoolean

Parameters

other
Type: Microsoft.SqlServer.Types.SqlGeography
The SqlGeography instance to compare to the calling instance.

Return Value

Type: SqlBoolean
1 if the SqlGeography is within the other SqlGeography instance.

Community Additions

ADD
Show:
© 2015 Microsoft