语言

SqlGeometry.STPolyFromWKB(SqlBytes, Int32) 方法

定义

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

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

参数

wkbPolygon
SqlBytes

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

srid
Int32

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

返回

SqlGeometry从指定的 WKB 表示形式构造的对象。

属性

适用于