语言

SqlGeography.STMPolyFromWKB(SqlBytes, Int32) 方法

定义

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

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

参数

wkbMultiPolygon
SqlBytes

要返回的 MultiPolygon 实例的 SqlGeographyWKB 表示形式。

srid
Int32

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

返回

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

属性

适用于