SqlGeometry.STCentroid Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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