SqlGeography.STMPolyFromWKB 方法 (SqlBytes, Int32)

 

返回 SqlGeography MultiPolygon 实例的开放地理空间联盟 (OGC) 熟知二进制 (WKB) 表示。

命名空间:   Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)

语法

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public static SqlGeography STMPolyFromWKB(
    SqlBytes wkbMultiPolygon,
    int srid
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
static SqlGeography^ STMPolyFromWKB(
    SqlBytes^ wkbMultiPolygon,
    int srid
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
static member STMPolyFromWKB : 
        wkbMultiPolygon:SqlBytes *
        srid:int -> SqlGeography
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)>
Public Shared Function STMPolyFromWKB (
    wkbMultiPolygon As SqlBytes,
    srid As Integer
) As SqlGeography

参数

  • srid
    Type: System.Int32

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

返回值

Type: Microsoft.SqlServer.Types.SqlGeography

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

另请参阅

SqlGeography 类
Microsoft.SqlServer.Types 命名空间

返回页首