Compartir a través de


SqlGeometry.STArea Método

Returns the total surface area of a SqlGeometry instance.

Espacio de nombres:  Microsoft.SqlServer.Types
Ensamblado:  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Sintaxis

'Declaración
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STArea As SqlDouble
'Uso
Dim instance As SqlGeometry 
Dim returnValue As SqlDouble 

returnValue = instance.STArea()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlDouble STArea()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlDouble STArea()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STArea : unit -> SqlDouble
public function STArea() : SqlDouble

Valor devuelto

Tipo: System.Data.SqlTypes.SqlDouble
A SqlDouble value that represents the total surface area of the SqlGeometry.

Comentarios

Returns 0 if the instance contains only 0- and 1-dimensional figures, or if it is empty.

Vea también

Referencia

SqlGeometry Clase

Espacio de nombres Microsoft.SqlServer.Types