Metodo SqlSpatialFunctions.RingN
[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 l'anello specificato dell'istanza di SqlGeography: 1 ≤ n ≤ NumRings().
Spazio dei nomi: System.Data.Entity.SqlServer
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Sintassi
'Dichiarazione
<DbFunctionAttribute("SqlServer", "RINGN")> _
<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId := "geographyValue")> _
<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId := "index")> _
Public Shared Function RingN ( _
geographyValue As DbGeography, _
index As Nullable(Of Integer) _
) As DbGeography
'Utilizzo
Dim geographyValue As DbGeography
Dim index As Nullable(Of Integer)
Dim returnValue As DbGeography
returnValue = SqlSpatialFunctions.RingN(geographyValue, _
index)
[DbFunctionAttribute("SqlServer", "RINGN")]
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geographyValue")]
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "index")]
public static DbGeography RingN(
DbGeography geographyValue,
Nullable<int> index
)
[DbFunctionAttribute(L"SqlServer", L"RINGN")]
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA1801:ReviewUnusedParameters", MessageId = L"geographyValue")]
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA1801:ReviewUnusedParameters", MessageId = L"index")]
public:
static DbGeography^ RingN(
DbGeography^ geographyValue,
Nullable<int> index
)
[<DbFunctionAttribute("SqlServer", "RINGN")>]
[<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geographyValue")>]
[<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "index")>]
static member RingN :
geographyValue:DbGeography *
index:Nullable<int> -> DbGeography
public static function RingN(
geographyValue : DbGeography,
index : Nullable<int>
) : DbGeography
Parametri
- geographyValue
Tipo: System.Data.Entity.Spatial.DbGeography
Valore geografico.
- index
Tipo: System.Nullable<Int32>
Espressione int tra 1 e il numero di anelli in un'istanza di poligono.
Valore restituito
Tipo: System.Data.Entity.Spatial.DbGeography
Oggetto SqlGeography che rappresenta l'anello specificato da n.