SqlGeography.ShortestLineTo 메서드
Returns the shortest distance between the two SqlGeographyinstances.
네임스페이스: Microsoft.SqlServer.Types
어셈블리: Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)
구문
‘선언
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function ShortestLineTo ( _
other As SqlGeography _
) As SqlGeography
‘사용 방법
Dim instance As SqlGeography
Dim other As SqlGeography
Dim returnValue As SqlGeography
returnValue = instance.ShortestLineTo(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeography ShortestLineTo(
SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeography^ ShortestLineTo(
SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member ShortestLineTo :
other:SqlGeography -> SqlGeography
public function ShortestLineTo(
other : SqlGeography
) : SqlGeography
매개 변수
- other
유형: Microsoft.SqlServer.Types.SqlGeography
The SqlGeography instance that the calling SqlGeography instance is trying to determine the shortest distance to.
반환 값
유형: Microsoft.SqlServer.Types.SqlGeography
The shortest distance between the two SqlGeography instances.
참고 항목
참조
Microsoft.SqlServer.Types 네임스페이스