Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Returns a SqlGeography instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation.
Espacio de nombres: Microsoft.SqlServer.Types
Ensamblado: Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)
Sintaxis
'Declaración
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Shared Function Parse ( _
s As SqlString _
) As SqlGeography
'Uso
Dim s As SqlString
Dim returnValue As SqlGeography
returnValue = SqlGeography.Parse(s)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public static SqlGeography Parse(
SqlString s
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
static SqlGeography^ Parse(
SqlString s
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
static member Parse :
s:SqlString -> SqlGeography
public static function Parse(
s : SqlString
) : SqlGeography
Parámetros
- s
Tipo: System.Data.SqlTypes.SqlString
The WKT representation of the SqlGeography instance you wish to return.
Valor devuelto
Tipo: Microsoft.SqlServer.Types.SqlGeography
A SqlGeography value constructed from the specified WKT representation.
Comentarios
The Parse method is equivalent to STGeomFromText except that it assumes a spatial reference ID (SRID) of 4326 as a parameter. The input may carry optional Z (elevation) and M (measure) values.