SqlGeography.STMPolyFromWKB(SqlBytes, Int32) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Retorna uma SqlGeography 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.SqlGeography 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.SqlGeography
Public Shared Function STMPolyFromWKB (wkbMultiPolygon As SqlBytes, srid As Integer) As SqlGeography
Parâmetros
- wkbMultiPolygon
- SqlBytes
A representação WKB da instância MultiPolygon SqlGeographyque você deseja retornar.
- srid
- Int32
Uma expressão int que representa a SRID (ID de Referência Espacial) da SqlGeographyinstância de MultiPolygon que você deseja retornar.
Retornos
Um SqlGeography valor construído a partir da representação WKB especificada.
- Atributos