SqlGeography.STMLineFromText(SqlChars, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a SqlGeography instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation, augmented with any Z (elevation) and M (measure) values carried by the instance.
[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public static Microsoft.SqlServer.Types.SqlGeography STMLineFromText (System.Data.SqlTypes.SqlChars multiLineStringTaggedText, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
static member STMLineFromText : System.Data.SqlTypes.SqlChars * int -> Microsoft.SqlServer.Types.SqlGeography
Public Shared Function STMLineFromText (multiLineStringTaggedText As SqlChars, srid As Integer) As SqlGeography
Parameters
- multiLineStringTaggedText
- SqlChars
The WKT representation of the SqlGeographyMultiLineString instance you wish to return.
- srid
- Int32
An integer expression representing the Spatial Reference ID (SRID) of the SqlGeographyMultiLineString instance you wish to return.
Returns
A SqlGeography instance constructed from the specified WKT representation.
- Attributes