共用方式為


DbProviderServices.GetSpatialServices 方法

定義

多載

GetSpatialServices(DbProviderInfo)

取得 DbProviderServices 的空間服務。

GetSpatialServices(String)
已淘汰.

取得 DbProviderServices 的空間服務。

GetSpatialServices(DbProviderInfo)

取得 DbProviderServices 的空間服務。

public System.Data.Entity.Spatial.DbSpatialServices GetSpatialServices (System.Data.Entity.Infrastructure.DbProviderInfo key);
member this.GetSpatialServices : System.Data.Entity.Infrastructure.DbProviderInfo -> System.Data.Entity.Spatial.DbSpatialServices
Public Function GetSpatialServices (key As DbProviderInfo) As DbSpatialServices

參數

key
DbProviderInfo

將用於空間服務之資料庫的相關資訊。

傳回

空間服務。

適用於

GetSpatialServices(String)

警告

Use GetSpatialServices(DbProviderInfo) or DbConfiguration to ensure the configured spatial services are used. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

取得 DbProviderServices 的空間服務。

[System.Obsolete("Use GetSpatialServices(DbProviderInfo) or DbConfiguration to ensure the configured spatial services are used. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.")]
public System.Data.Entity.Spatial.DbSpatialServices GetSpatialServices (string manifestToken);
member this.GetSpatialServices : string -> System.Data.Entity.Spatial.DbSpatialServices
Public Function GetSpatialServices (manifestToken As String) As DbSpatialServices

參數

manifestToken
String

與提供者資訊清單關聯的語彙基元資訊。

傳回

空間服務。

屬性

適用於