Condividi tramite


Metodo SqlSpatialFunctions.EnvelopeCenter

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Restituisce un punto che può essere utilizzato come centro di un cerchio di selezione per l'istanza geografica.

Spazio dei nomi:  System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

Sintassi

'Dichiarazione
<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId := "geographyValue")> _
<DbFunctionAttribute("SqlServer", "ENVELOPECENTER")> _
Public Shared Function EnvelopeCenter ( _
    geographyValue As DbGeography _
) As DbGeography
'Utilizzo
Dim geographyValue As DbGeography 
Dim returnValue As DbGeography 

returnValue = SqlSpatialFunctions.EnvelopeCenter(geographyValue)
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geographyValue")]
[DbFunctionAttribute("SqlServer", "ENVELOPECENTER")]
public static DbGeography EnvelopeCenter(
    DbGeography geographyValue
)
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA1801:ReviewUnusedParameters", MessageId = L"geographyValue")]
[DbFunctionAttribute(L"SqlServer", L"ENVELOPECENTER")]
public:
static DbGeography^ EnvelopeCenter(
    DbGeography^ geographyValue
)
[<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geographyValue")>]
[<DbFunctionAttribute("SqlServer", "ENVELOPECENTER")>]
static member EnvelopeCenter : 
        geographyValue:DbGeography -> DbGeography
public static function EnvelopeCenter(
    geographyValue : DbGeography
) : DbGeography

Parametri

Valore restituito

Tipo: System.Data.Entity.Spatial.DbGeography
Valore SqlGeography che specifica la posizione del centro di un cerchio di selezione.

Vedere anche

Riferimento

SqlSpatialFunctions Classe

Spazio dei nomi System.Data.Entity.SqlServer