SqlGeography.STGeomFromWKB(SqlBytes, Int32) Método

Definição

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

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

Parâmetros

wkbGeometry
SqlBytes

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

srid
Int32

Uma expressão int que representa a SRID (ID de Referência Espacial) da SqlGeography instância que você deseja retornar.

Retornos

Uma SqlGeography instância construída a partir da representação WKB especificada.

Atributos

Aplica-se a