STArea 方法

Returns the total surface area of a SqlGeometry instance.

命名空间:  Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)

语法

声明
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STArea As SqlDouble
用法
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

返回值

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

注释

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