SqlGeography.STSymDifference 方法 (SqlGeography)

 

返回表示位于一个 SqlGeography 实例或者另一个 SqlGeography 实例中的所有点的对象,但不包含同时位于这两个实例中的那些点。

命名空间:   Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)

语法

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeography STSymDifference(
    SqlGeography other
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlGeography^ STSymDifference(
    SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STSymDifference : 
        other:SqlGeography -> SqlGeography
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function STSymDifference (
    other As SqlGeography
) As SqlGeography

参数

返回值

Type: Microsoft.SqlServer.Types.SqlGeography

一个 SqlGeography 实例,该实例包含对于调用 SqlGeography 和指定的 SqlGeography 唯一的点。

备注

如果 SqlGeography 实例的空间引用 ID (SRID) 不匹配,则此方法始终返回 Null。

另请参阅

SqlGeography 类
Microsoft.SqlServer.Types 命名空间

返回页首