SqlGeometry.STCentroid Method

Definition

Returns the geometric center of a SqlGeometry instance consisting of one or more polygons.

[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

Returns

A SqlGeometry object that represents the geometric center of the calling SqlGeometry.

Attributes

Applies to