Langue

SqlGeography.STLineFromText(SqlChars, Int32) Méthode

Définition

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 STLineFromText(System.Data.SqlTypes.SqlChars lineStringTaggedText, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
static member STLineFromText : System.Data.SqlTypes.SqlChars * int -> Microsoft.SqlServer.Types.SqlGeography
Public Shared Function STLineFromText (lineStringTaggedText As SqlChars, srid As Integer) As SqlGeography

Paramètres

lineStringTaggedText
SqlChars

Représentation WKT de l’instance SqlGeography LineString à retourner.

srid
Int32

Expression int représentant l’ID de référence spatiale (SRID) de l’instance SqlGeography LineString que vous souhaitez retourner.

Retours

Valeur SqlGeography construite à partir de la représentation WKT spécifiée.

Attributs

S’applique à