语言

SqlGeometry.STCentroid 方法

定义

返回由一个或多个多边形组成的实例的 SqlGeometry 几何中心。

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public Microsoft.SqlServer.Types.SqlGeometry STCentroid();
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STCentroid : unit -> Microsoft.SqlServer.Types.SqlGeometry
Public Function STCentroid () As SqlGeometry

返回

一个 SqlGeometry 表示调用 SqlGeometry的几何中心的对象。

属性

适用于