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 SqlBoolean STOverlaps(
    SqlGeography other
)

參數

傳回值

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

請參閱

參考

SqlGeography 類別

Microsoft.SqlServer.Types 命名空間

其他資源

STOverlaps (geography 資料類型)