SqlGeography.STPolyFromWKB(SqlBytes, Int32) Metodo

Definizione

Restituisce un'istanza SqlGeography Polygon da una rappresentazione OGC (Open Geospatial Consortium) Well-Known Binary (WKB).

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

Parametri

wkbPolygon
SqlBytes

Rappresentazione WKB dell'istanza SqlGeographyPolygon da restituire.

srid
Int32

Espressione int che rappresenta l'ID SRID (Spatial Reference ID) dell'istanza SqlGeographyPolygon da restituire.

Valori restituiti

SqlGeography Istanza costruita dalla rappresentazione WKB specificata.

Attributi

Si applica a