SqlGeography.STAsBinary Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation of a SqlGeography instance.
[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)]
public System.Data.SqlTypes.SqlBytes STAsBinary ();
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)>]
member this.STAsBinary : unit -> System.Data.SqlTypes.SqlBytes
Public Function STAsBinary () As SqlBytes
Returns
A SqlBytes value containing the WKB representation of the calling SqlGeography.
- Attributes