다음을 통해 공유


Parse 메서드

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

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

구문

‘선언
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Shared Function Parse ( _
    s As SqlString _
) As SqlGeography
‘사용 방법
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

매개 변수

반환 값

유형: Microsoft.SqlServer.Types. . :: . .SqlGeography
A SqlGeography value constructed from the specified WKT representation.

주의

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.