SqlGeography.STGeomCollFromWKB(SqlBytes, Int32) Método

Definição

Retorna uma instância GeometryCollection 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.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

Parâmetros

wkbGeometryCollection
SqlBytes

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

srid
Int32

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

Retornos

Um SqlGeography valor construído a partir da coleção de geometria WKB especificada.

Atributos

Aplica-se a