DbProviderServices.GetSpatialServices Method

Definition

Overloads

GetSpatialServices(DbProviderInfo)

Gets the spatial services for the DbProviderServices.

GetSpatialServices(String)
Obsolete.

Gets the spatial services for the DbProviderServices.

GetSpatialServices(DbProviderInfo)

Gets the spatial services for the 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

Parameters

key
DbProviderInfo

Information about the database that the spatial services will be used for.

Returns

The spatial services.

Applies to

GetSpatialServices(String)

Caution

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

Gets the spatial services for the 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

Parameters

manifestToken
String

The token information associated with the provider manifest.

Returns

The spatial services.

Attributes

Applies to