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 Function AsTextZM As SqlChars

Return Value

Type: System.Data.SqlTypes.SqlChars

A SqlChars value containing the WKT representation of the SqlGeometry value.

Return to top