SqlGeometry.Parse(SqlString) 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.
[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
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