AsTextZM Method

SqlGeometry.AsTextZM Method

Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a SqlGeometry 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)

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlChars AsTextZM()

Return Value

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

Community Additions

© 2016 Microsoft