SqlGeography.STOverlaps 方法

Returns 1 if a SqlGeography instance spatially overlaps another SqlGeography instance, or 0 if it does not.

命名空间:  Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)

语法

声明
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STOverlaps ( _
    other As SqlGeography _
) As SqlBoolean
用法
Dim instance As SqlGeography 
Dim other As SqlGeography 
Dim returnValue As SqlBoolean 

returnValue = instance.STOverlaps(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STOverlaps(
    SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STOverlaps(
    SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STOverlaps : 
        other:SqlGeography -> SqlBoolean
public function STOverlaps(
    other : SqlGeography
) : SqlBoolean

参数

返回值

类型:System.Data.SqlTypes.SqlBoolean
1 if the two instances overlap; otherwise, 0.

请参阅

参考

SqlGeography 类

Microsoft.SqlServer.Types 命名空间

其他资源

STOverlaps(geography 数据类型)