SqlGeography.STOverlaps 方法 (SqlGeography)
如果 SqlGeography 实例在空间上与另一个 SqlGeography 实例重叠,则返回 1;否则,返回 0。
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)
语法
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STOverlaps(
SqlGeography other
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlBoolean STOverlaps(
SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STOverlaps :
other:SqlGeography -> SqlBoolean
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function STOverlaps (
other As SqlGeography
) As SqlBoolean
参数
other
Type: Microsoft.SqlServer.Types.SqlGeography用于检查是否包含与调用实例重叠的 SqlGeography 实例。
返回值
Type: System.Data.SqlTypes.SqlBoolean
如果两个实例重叠,则为 1;否则为 0。
另请参阅
SqlGeography 类
Microsoft.SqlServer.Types 命名空间
STOverlaps(geography 数据类型)
返回页首