语言

SqlGeography.STLineFromText(SqlChars, Int32) 方法

定义

从开放地理空间联盟(OGC)Well-Known 文本(WKT)表示形式返回一个 SqlGeography 实例,该表示形式由实例携带的任何 Z(提升)和 M(度量值)扩充。

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public static Microsoft.SqlServer.Types.SqlGeography STLineFromText(System.Data.SqlTypes.SqlChars lineStringTaggedText, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
static member STLineFromText : System.Data.SqlTypes.SqlChars * int -> Microsoft.SqlServer.Types.SqlGeography
Public Shared Function STLineFromText (lineStringTaggedText As SqlChars, srid As Integer) As SqlGeography

参数

lineStringTaggedText
SqlChars

要返回的 LineString 实例的 SqlGeography WKT 表示形式。

srid
Int32

表示要返回的 LineString 实例的空间引用 ID(SRID)的 SqlGeography int 表达式。

返回

SqlGeography从指定的 WKT 表示形式构造的值。

属性

适用于