SqlGeography.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 SqlGeography 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.SqlGeography Parse (System.Data.SqlTypes.SqlString s);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
static member Parse : System.Data.SqlTypes.SqlString -> Microsoft.SqlServer.Types.SqlGeography
Public Shared Function Parse (s As SqlString) As SqlGeography
Parameters
The WKT representation of the SqlGeography instance you wish to return.
Returns
A SqlGeography value constructed from the specified WKT representation.
- Attributes