SqlGeography.AsTextZM Method ()

 

Applies To: SQL Server 2016 Preview

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.

Namespace:   Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Syntax

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlChars AsTextZM()
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlChars^ AsTextZM()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member AsTextZM : unit -> SqlChars
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function AsTextZM As SqlChars

Return Value

Type: System.Data.SqlTypes.SqlChars

A SqlChars value containing the WKT representation of the SqlGeography instance.

See Also

SqlGeography Class
Microsoft.SqlServer.Types Namespace

Return to top