SqlGeography.AsBinaryZM Method

Returns the Open Geospatial Consortium (OGC) Well-Known Binary (WKB) 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 := True)> _
Public Function AsBinaryZM As SqlBytes
'Usage
Dim instance As SqlGeography
Dim returnValue As SqlBytes

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

Return Value

Type: System.Data.SqlTypes.SqlBytes
The binary representation of the SqlGeography instance augmented with any Z (elevation) and M (measure) values carried by the instance.

See Also

Reference

SqlGeography Class

Microsoft.SqlServer.Types Namespace