Condividi tramite


Metodo DbProviderServices.GetSpatialServices (String)

[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.]

Nota: questa API è ora obsoleta.

Ottiene i servizi spaziali per DbProviderServices.

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

Sintassi

'Dichiarazione
<ObsoleteAttribute("Use GetSpatialServices(DbProviderInfo) or DbConfiguration to ensure the configured spatial services are used. See https://go.microsoft.com/fwlink/?LinkId=260882 for more information.")> _
Public Function GetSpatialServices ( _
    manifestToken As String _
) As DbSpatialServices
'Utilizzo
Dim instance As DbProviderServices 
Dim manifestToken As String 
Dim returnValue As DbSpatialServices 

returnValue = instance.GetSpatialServices(manifestToken)
[ObsoleteAttribute("Use GetSpatialServices(DbProviderInfo) or DbConfiguration to ensure the configured spatial services are used. See https://go.microsoft.com/fwlink/?LinkId=260882 for more information.")]
public DbSpatialServices GetSpatialServices(
    string manifestToken
)
[ObsoleteAttribute(L"Use GetSpatialServices(DbProviderInfo) or DbConfiguration to ensure the configured spatial services are used. See https://go.microsoft.com/fwlink/?LinkId=260882 for more information.")]
public:
DbSpatialServices^ GetSpatialServices(
    String^ manifestToken
)
[<ObsoleteAttribute("Use GetSpatialServices(DbProviderInfo) or DbConfiguration to ensure the configured spatial services are used. See https://go.microsoft.com/fwlink/?LinkId=260882 for more information.")>]
member GetSpatialServices : 
        manifestToken:string -> DbSpatialServices
public function GetSpatialServices(
    manifestToken : String
) : DbSpatialServices

Parametri

  • manifestToken
    Tipo: System.String
    Informazioni sul token associate al manifesto del provider.

Valore restituito

Tipo: System.Data.Entity.Spatial.DbSpatialServices
Servizi spaziali.

Vedere anche

Riferimento

DbProviderServices Classe

Overload GetSpatialServices

Spazio dei nomi System.Data.Entity.Core.Common