语言

SqlGeography.STLineFromWKB(SqlBytes, Int32) 方法

定义

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

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

参数

wkbLineString
SqlBytes

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

srid
Int32

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

返回

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

属性

适用于