다음을 통해 공유


SqlGeography.STAsText Method

Definition

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

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlChars STAsText ();
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STAsText : unit -> System.Data.SqlTypes.SqlChars
Public Function STAsText () As SqlChars

Returns

A SqlChars value that contains the WKT representation of the SqlGeography instance.

Attributes

Applies to