SqlGeometry.STMPolyFromWKB(SqlBytes, Int32) Método

Definição

Retorna uma SqlGeometry instância multiPolygon de uma representação do OGC (Open Geospatial Consortium) Well-Known Binary (WKB).

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)]
public static Microsoft.SqlServer.Types.SqlGeometry 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.SqlGeometry
Public Shared Function STMPolyFromWKB (wkbMultiPolygon As SqlBytes, srid As Integer) As SqlGeometry

Parâmetros

wkbMultiPolygon
SqlBytes

A representação WKB da instância MultiPolygon SqlGeometry que você deseja retornar.

srid
Int32

Uma expressão int que representa a SRID (ID de referência espacial) da SqlGeometry instância de MultiPolygon que você deseja retornar.

Retornos

Um SqlGeometry objeto construído a partir da representação WKB especificada.

Atributos

Aplica-se a