SqlGeography.STGeomFromWKB(SqlBytes, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne une instance 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 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
Paramètres
- wkbGeometry
- SqlBytes
Représentation WKB de l’instance SqlGeography à retourner.
- srid
- Int32
Expression int qui représente l’ID de référence spatiale (SRID) de l’instance SqlGeography que vous souhaitez retourner.
Retours
Instance SqlGeography construite à partir de la représentation WKB spécifiée.
- Attributs