SqlGeography.STPointFromWKB(SqlBytes, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从 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 构造的值。
- 属性