SqlGeography.ToString 메서드

SQL Server 2012

Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a SqlGeography instance augmented with any Z (elevation) and M (measure) values carried by the instance.

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public override string ToString()

반환 값

유형: System.String
A string containing the WKT representation of the calling SqlGeography instance.

This method returns the string "Null" when called on null instances.