语言

SqlGeography.STGeomCollFromWKB(SqlBytes, Int32) 方法

定义

从 Open Geospatial Consortium (OGC) Well-Known Binary (WKB) 表示形式返回 GeometryCollection 实例。

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

参数

wkbGeometryCollection
SqlBytes

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

srid
Int32

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

返回

SqlGeography从指定的 WKB 几何集合构造的值。

属性

适用于