STAsBinary Method
TOC
Collapse the table of content
Expand the table of content

SqlGeography.STAsBinary Method ()

 

Returns the Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation of a SqlGeography instance.

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

No code example is currently available or this language may not be supported.

Return Value

Type: System.Data.SqlTypes.SqlBytes

A SqlBytes value containing the WKB representation of the calling SqlGeography.

This value will not contain any Z or M values carried by the instance.

Return to top
Show:
© 2016 Microsoft