SqlSpatialFunctions.EnvelopeCenter Method (DbGeography)

.NET Framework (current version)

Returns a point that can be used as the center of a bounding circle for the geography instance.

Namespace:   System.Data.Objects.SqlClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

[EdmFunctionAttribute("SqlServer", "ENVELOPECENTER")]
public static DbGeography EnvelopeCenter(
	DbGeography geographyValue


Type: System.Data.Spatial.DbGeography

The geography value.

Return Value

Type: System.Data.Spatial.DbGeography

A SqlGeography value that specifies the location of the center of a bounding circle.

.NET Framework
Available since 4.5
Return to top