SqlGeography.STMPolyFromText(SqlChars, 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 Text (WKT), augmentée de toutes les valeurs Z (élévation) et M (mesure) portées par l’instance.
[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public static Microsoft.SqlServer.Types.SqlGeography STMPolyFromText(System.Data.SqlTypes.SqlChars multiPolygonTaggedText, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
static member STMPolyFromText : System.Data.SqlTypes.SqlChars * int -> Microsoft.SqlServer.Types.SqlGeography
Public Shared Function STMPolyFromText (multiPolygonTaggedText As SqlChars, srid As Integer) As SqlGeography
Paramètres
- multiPolygonTaggedText
- SqlChars
Représentation WKT de l’instance SqlGeographyMultiPolygon que vous souhaitez retourner.
- srid
- Int32
Expression int qui représente l’ID de référence spatiale (SRID) de l’instance SqlGeographyMultiPolygon que vous souhaitez retourner.
Retours
Valeur SqlGeography construite à partir de la représentation WKT spécifiée.
- Attributs