语言

SqlGeography.STPointFromWKB(SqlBytes, Int32) 方法

定义

从 SqlGeography 开放地理空间联盟(OGC)Well-Known 二进制(WKB)表示形式返回点实例。

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

参数

wkbPoint
SqlBytes

要返回的 Point 实例的 SqlGeography WKB 表示形式。

srid
Int32

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

返回

SqlGeography从指定的 WKB 构造的值。

属性

适用于