SqlGeometry.STDisjoint 方法 (SqlGeometry)
确定调用 SqlGeometry 实例在与指定的 SqlGeometry 实例进行比较时是否处于不联接状态。
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)
语法
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STDisjoint(
SqlGeometry other
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlBoolean STDisjoint(
SqlGeometry^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STDisjoint :
other:SqlGeometry -> SqlBoolean
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function STDisjoint (
other As SqlGeometry
) As SqlBoolean
参数
other
Type: Microsoft.SqlServer.Types.SqlGeometrySqlGeometry 实例进行比较的实例上的 STDisjoint 调用。
返回值
Type: System.Data.SqlTypes.SqlBoolean
如果一个 SqlGeometry 实例与另一个 SqlGeometry 实例在空间上不相联,则返回 true。 返回 false 如果不是。
备注
两个 SqlGeometry 实例脱节的如果的点集交集为空。
如果 SqlGeometry 实例的空间引用 ID (SRID) 不匹配,则此方法始终返回 Null。
另请参阅
SqlGeometry 类
Microsoft.SqlServer.Types 命名空间
返回页首