SqlGeometry.STUnion 메서드

Returns an object that represents the union of a SqlGeometry instance with another SqlGeometry instance.

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

구문

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

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

매개 변수

반환 값

유형: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry object that represents the union of the calling SqlGeometry and the specified SqlGeometry.

주의

This method always returns nullnull 참조(Visual Basic에서는 Nothing) if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match.

참고 항목

참조

SqlGeometry 클래스

Microsoft.SqlServer.Types 네임스페이스