Langue

SqlGeography.STPolyFromWKB(SqlBytes, Int32) Méthode

Définition

Retourne une instance Polygon à partir d’une SqlGeography représentation 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

Paramètres

wkbPolygon
SqlBytes

Représentation WKB de l’instance SqlGeographyPolygon que vous souhaitez retourner.

srid
Int32

Expression int qui représente l’ID de référence spatiale (SRID) de l’instance SqlGeographyPolygon que vous souhaitez retourner.

Retours

Instance SqlGeography construite à partir de la représentation WKB spécifiée.

Attributs

S’applique à