SqlGeography.Filter(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.
Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available.
[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlBoolean Filter (Microsoft.SqlServer.Types.SqlGeography other);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.Filter : Microsoft.SqlServer.Types.SqlGeography -> System.Data.SqlTypes.SqlBoolean
Public Function Filter (other As SqlGeography) As SqlBoolean
Parameters
- other
- SqlGeography
Is another geography instance to compare against the instance on which Filter(SqlGeography) is invoked.
Returns
A SqlBoolean value that specifies whether the specified SqlGeography instance intersects the current SqlGeography.Returns 1 if a geography instance potentially intersects another SqlGeography instance. This method may produce a false-positive return, and the exact result may be plan-dependent. Returns an accurate 0 value (true negative return) if there is no intersection of SqlGeography instances found.
- Attributes