SqlSpatialFunctions.EnvelopeCenter(DbGeography) Method

Definition

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

public:
 static System::Data::Spatial::DbGeography ^ EnvelopeCenter(System::Data::Spatial::DbGeography ^ geographyValue);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "ENVELOPECENTER")]
public static System.Data.Spatial.DbGeography EnvelopeCenter (System.Data.Spatial.DbGeography geographyValue);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "ENVELOPECENTER")>]
static member EnvelopeCenter : System.Data.Spatial.DbGeography -> System.Data.Spatial.DbGeography
Public Shared Function EnvelopeCenter (geographyValue As DbGeography) As DbGeography

Parameters

geographyValue
DbGeography

The geography value.

Returns

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

Attributes

Applies to