Freigeben über


SqlGeometry.STAsBinary Method

Definition

Returns the Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation of a SqlGeometry instance. This value will not contain any Z or M values carried by the 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 object containing the WKB representation of the SqlGeometry.

Attributes

Applies to