SqlGeometry.STPointFromWKB(SqlBytes, Int32) Método

Definição

Retorna uma SqlGeometry instância point 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.SqlGeometry STPointFromWKB(System.Data.SqlTypes.SqlBytes wkbPoint, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)>]
static member STPointFromWKB : System.Data.SqlTypes.SqlBytes * int -> Microsoft.SqlServer.Types.SqlGeometry
Public Shared Function STPointFromWKB (wkbPoint As SqlBytes, srid As Integer) As SqlGeometry

Parâmetros

wkbPoint
SqlBytes

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

srid
Int32

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

Retornos

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

Atributos

Aplica-se a