Méthode STAsText
Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a SqlGeography instance.
Espace de noms : Microsoft.SqlServer.Types
Assembly : Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)
Syntaxe
'Déclaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STAsText As SqlChars
'Utilisation
Dim instance As SqlGeography
Dim returnValue As SqlChars
returnValue = instance.STAsText()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlChars STAsText()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlChars^ STAsText()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STAsText : unit -> SqlChars
public function STAsText() : SqlChars
Valeur de retour
Type : System.Data.SqlTypes. . :: . .SqlChars
A SqlChars value that contains the WKT representation of the SqlGeography instance.
Notes
This text will not contain any Z (elevation) or M (measure) values carried by the instance.