SqlGeography.STStartPoint Method

Returns the start point of a SqlGeography instance.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Syntax

'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STStartPoint As SqlGeography
'Usage
Dim instance As SqlGeography
Dim returnValue As SqlGeography

returnValue = instance.STStartPoint()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlGeography STStartPoint()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlGeography^ STStartPoint()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STStartPoint : unit -> SqlGeography 
public function STStartPoint() : SqlGeography

Return Value

Type: Microsoft.SqlServer.Types.SqlGeography
A SqlGeography value that represents the start point of the calling SqlGeography.

Remarks

STStartPoint is the equivalent of STPointN(1).