SqlGeometry.Parse(SqlString) Method

Definition

Returns a SqlGeometry instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public static Microsoft.SqlServer.Types.SqlGeometry Parse (System.Data.SqlTypes.SqlString s);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
static member Parse : System.Data.SqlTypes.SqlString -> Microsoft.SqlServer.Types.SqlGeometry
Public Shared Function Parse (s As SqlString) As SqlGeometry

Parameters

s
SqlString

Specifies the the WKT representation of the SqlGeometry instance you wish to return.

Returns

A SqlGeometry instance interpreted from the provided WKT representation.Returns null if s is null.

Attributes

Applies to