SqlGeography.STDifference 方法 (SqlGeography)
返回一个对象,表示从一个点 SqlGeography 不位于另一个实例 SqlGeography 实例。
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)
语法
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeography STDifference(
SqlGeography other
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlGeography^ STDifference(
SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STDifference :
other:SqlGeography -> SqlGeography
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function STDifference (
other As SqlGeography
) As SqlGeography
参数
other
Type: Microsoft.SqlServer.Types.SqlGeography另一个 SqlGeography 实例,该实例指示要从正在调用了此方法的实例中删除哪些点。
返回值
Type: Microsoft.SqlServer.Types.SqlGeography
一个 SqlGeography 值,该值表示所有对调用实例唯一的点。
备注
如果 SqlGeography 实例的空间引用 ID (SRID) 不匹配,则此方法始终返回 Null。
另请参阅
SqlGeography 类
Microsoft.SqlServer.Types 命名空间
返回页首