SqlGeometry.ShortestLineTo 메서드

Returns the shortest distance between the two SqlGeometryinstances.

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

구문

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

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

매개 변수

반환 값

유형: Microsoft.SqlServer.Types.SqlGeometry
The shortest distance between the two SqlGeometry instances.

참고 항목

참조

SqlGeometry 클래스

Microsoft.SqlServer.Types 네임스페이스