SqlGeometry.STGeomCollFromText(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 SqlGeometry 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.SqlGeometry STGeomCollFromText (System.Data.SqlTypes.SqlChars geometryCollectionTaggedText, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
static member STGeomCollFromText : System.Data.SqlTypes.SqlChars * int -> Microsoft.SqlServer.Types.SqlGeometry
Public Shared Function STGeomCollFromText (geometryCollectionTaggedText As SqlChars, srid As Integer) As SqlGeometry
Parameters
- geometryCollectionTaggedText
- SqlChars
The WKT representation of the SqlGeometry instance you wish to return.
- srid
- Int32
An integer expression that represents the spatial reference ID (SRID) of the SqlGeometry instance you wish to return.
Returns
A SqlGeometry value constructed from the specified WKT representation.
- Attributes