DbSpatialServices.CreateGeography(DbSpatialServices, Object) Yöntem

Tanım

Bu yöntem, türetilmiş uygulamayla kullanıma uygun olduğundan emin olmak için belirtilen sağlayıcı değerinin uygun doğrulanmasından sonra türetilmiş uygulamaları GeographyFromProviderValue(Object) tarafından kullanılmak üzere tasarlanmıştır.

protected:
 static System::Data::Spatial::DbGeography ^ CreateGeography(System::Data::Spatial::DbSpatialServices ^ spatialServices, System::Object ^ providerValue);
protected static System.Data.Spatial.DbGeography CreateGeography(System.Data.Spatial.DbSpatialServices spatialServices, object providerValue);
static member CreateGeography : System.Data.Spatial.DbSpatialServices * obj -> System.Data.Spatial.DbGeography
Protected Shared Function CreateGeography (spatialServices As DbSpatialServices, providerValue As Object) As DbGeography

Parametreler

spatialServices
DbSpatialServices

Döndürülen DbGeography değerin bağlı olacağı uzamsal hizmetler örneği, uzamsal işlevselliğin uygulanmasına bağlıdır.

providerValue
Object

Sağlayıcı değeri.

Döndürülenler

Belirtilen DbGeography öğesini içeren ve belirtilen öğesini uzamsal uygulaması olarak kullanan providerValue yeni spatialServices bir örnek.

Özel durumlar

spatialServices providerValue

Şunlara uygulanır