SqlGeometry.Filter(SqlGeometry) 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 SqlGeometry instance intersects another SqlGeometry instance, assuming an index is available.
[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlBoolean Filter (Microsoft.SqlServer.Types.SqlGeometry other);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.Filter : Microsoft.SqlServer.Types.SqlGeometry -> System.Data.SqlTypes.SqlBoolean
Public Function Filter (other As SqlGeometry) As SqlBoolean
Parameters
- other
- SqlGeometry
Specifies the SqlGeometry instance to compare to the current SqlGeometry.
Returns
A SqlBoolean that specifies whether the specified SqlGeometry intersects the calling SqlGeometry. If the instances do intersect, this method returns true. Otherwise, it returns false.
- Attributes