Share via


SqlGeography.STLength Method

Definition

Returns the total length of the elements in a SqlGeography instance or the SqlGeography instances within a GeometryCollection.

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

Returns

A SqlDouble value containing the total length.

Attributes

Applies to