2 つの SqlGeometry インスタンスの間の最短距離を返します。
名前空間: 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
パラメーター
- other
型: Microsoft.SqlServer.Types.SqlGeometry
呼び出し元の SqlGeometry インスタンスとの最短距離を判別するための SqlGeometry インスタンスです。
戻り値
型: Microsoft.SqlServer.Types.SqlGeometry
2 つの SqlGeometry インスタンスの間の最短距離です。