SqlGeography.AsTextZM Method

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

'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function AsTextZM As SqlChars
'Usage
Dim instance As SqlGeography
Dim returnValue As SqlChars

returnValue = instance.AsTextZM()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlChars AsTextZM()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlChars^ AsTextZM()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member AsTextZM : unit -> SqlChars 
public function AsTextZM() : SqlChars

Return Value

Type: System.Data.SqlTypes.SqlChars
A SqlChars value containing the WKT representation of the SqlGeography instance.