DbProviderServices.DbGetSpatialServices 方法
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
注意:這個 API 現在已經過時。
取得 DbProviderServices 的空間服務。
命名空間: System.Data.Entity.Core.Common
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
<ObsoleteAttribute("Return DbSpatialServices from the GetService method. See https://go.microsoft.com/fwlink/?LinkId=260882 for more information.")> _
Protected Overridable Function DbGetSpatialServices ( _
manifestToken As String _
) As DbSpatialServices
'用途
Dim manifestToken As String
Dim returnValue As DbSpatialServices
returnValue = Me.DbGetSpatialServices(manifestToken)
[ObsoleteAttribute("Return DbSpatialServices from the GetService method. See https://go.microsoft.com/fwlink/?LinkId=260882 for more information.")]
protected virtual DbSpatialServices DbGetSpatialServices(
string manifestToken
)
[ObsoleteAttribute(L"Return DbSpatialServices from the GetService method. See https://go.microsoft.com/fwlink/?LinkId=260882 for more information.")]
protected:
virtual DbSpatialServices^ DbGetSpatialServices(
String^ manifestToken
)
[<ObsoleteAttribute("Return DbSpatialServices from the GetService method. See https://go.microsoft.com/fwlink/?LinkId=260882 for more information.")>]
abstract DbGetSpatialServices :
manifestToken:string -> DbSpatialServices
[<ObsoleteAttribute("Return DbSpatialServices from the GetService method. See https://go.microsoft.com/fwlink/?LinkId=260882 for more information.")>]
override DbGetSpatialServices :
manifestToken:string -> DbSpatialServices
protected function DbGetSpatialServices(
manifestToken : String
) : DbSpatialServices
參數
- manifestToken
類型:System.String
與提供者資訊清單相關聯的語彙基元資訊。
傳回值
類型:System.Data.Entity.Spatial.DbSpatialServices
空間服務。