다음을 통해 공유


STSymDifference 메서드

Returns an object representing all points that are either in one SqlGeography instance or another SqlGeography instance, but not those points that lie in both instances.

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

구문

‘선언
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STSymDifference ( _
    other As SqlGeography _
) As SqlGeography
‘사용 방법
Dim instance As SqlGeography
Dim other As SqlGeography
Dim returnValue As SqlGeography

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

매개 변수

반환 값

유형: Microsoft.SqlServer.Types. . :: . .SqlGeography
A SqlGeography instance that contains all points unique to the calling SqlGeography and to the specified SqlGeography.

주의

This method always returns null if the spatial reference IDs (SRIDs) of the SqlGeography instances do not match.