语言

SqlGeography.STIntersects(SqlGeography) 方法

定义

确定当前 SqlGeography 实例是否与指定的 SqlGeography实例相交。

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlBoolean STIntersects(Microsoft.SqlServer.Types.SqlGeography other);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STIntersects : Microsoft.SqlServer.Types.SqlGeography -> System.Data.SqlTypes.SqlBoolean
Public Function STIntersects (other As SqlGeography) As SqlBoolean

参数

other
SqlGeography

要 SqlGeography 与调用的 STIntersects(SqlGeography) 实例进行比较的实例。

返回

一个 SqlBoolean 值,该值指示调用 SqlGeography 实例是否与另一个 SqlGeography 实例相交。 如果存在交集,则返回 true。 否则为 false。

属性

适用于