SqlGeography.STGeomFromWKB(SqlBytes, Int32) Método

Definición

Devuelve una instancia de una SqlGeography representación de Open Geospatial Consortium (OGC) 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

Representación WKB de la SqlGeography instancia que desea devolver.

srid
Int32

Expresión int que representa el identificador de referencia espacial (SRID) de la SqlGeography instancia que desea devolver.

Devoluciones

Instancia SqlGeography construida a partir de la representación WKB especificada.

Atributos

Se aplica a