Share via


SqlGeography.STArea Method

Definition

Returns the total surface area of a SqlGeography instance.

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

Returns

A SqlDouble value specifying the total surface area. STArea will return 0 if a SqlGeography instance contains only 0- and 1-dimensional figures, or if it is empty.

Attributes

Applies to