Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns a SqlGeometry instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Shared Function Parse ( _
s As SqlString _
) As SqlGeometry
'Usage
Dim s As SqlString
Dim returnValue As SqlGeometry
returnValue = SqlGeometry.Parse(s)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public static SqlGeometry Parse(
SqlString s
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
static SqlGeometry^ Parse(
SqlString s
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
static member Parse :
s:SqlString -> SqlGeometry
public static function Parse(
s : SqlString
) : SqlGeometry
Parameter
- s
Typ: System.Data.SqlTypes.SqlString
Specifies the the WKT representation of the SqlGeometry instance you wish to return.
Rückgabewert
Typ: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry instance interpreted from the provided WKT representation.Returns nullein NULL-Verweis (Nothing in Visual Basic) if s is nullein NULL-Verweis (Nothing in Visual Basic).
Hinweise
Parse is equivalent to STGeomFromText, with the exception that it assumes a spatial reference ID (SRID) of 0 as a parameter.
The input may carry optional Z (elevation) and M (measure) values.
This member is static.