共用方式為


DbProviderServices.GetSpatialServices 方法 (String)

[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]

注意:這個 API 現在已經過時。

取得 DbProviderServices 的空間服務。

命名空間:  System.Data.Entity.Core.Common
組件:  EntityFramework (在 EntityFramework.dll 中)

語法

'宣告
<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
'用途
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

參數

  • manifestToken
    類型:System.String
    與提供者資訊清單相關聯的語彙基元資訊。

傳回值

類型:System.Data.Entity.Spatial.DbSpatialServices
空間服務。

請參閱

參考

DbProviderServices 類別

GetSpatialServices 多載

System.Data.Entity.Core.Common 命名空間