다음을 통해 공유


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.