Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a SqlGeography instance.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STAsText As SqlChars
'Usage
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
Return Value
Type: System.Data.SqlTypes.SqlChars
A SqlChars value that contains the WKT representation of the SqlGeography instance.
Remarks
This text will not contain any Z (elevation) or M (measure) values carried by the instance.