Aracılığıyla paylaş


DatabaseSchemaProvider.GetServiceConstructor<TServiceConstructor> Yöntem

Belirtilen hizmet için bir yapıcı işlevi tarafından sağlanan Type.

Ad alanı:  Microsoft.Data.Schema
Derleme:  Microsoft.Data.Schema (Microsoft.Data.Schema.dll içinde)

Sözdizimi

'Bildirim
Public Function GetServiceConstructor(Of TServiceConstructor As ServiceConstructor) As TServiceConstructor
public TServiceConstructor GetServiceConstructor<TServiceConstructor>()
where TServiceConstructor : ServiceConstructor
public:
generic<typename TServiceConstructor>
where TServiceConstructor : ServiceConstructor
TServiceConstructor GetServiceConstructor()
member GetServiceConstructor : unit -> 'TServiceConstructor  when 'TServiceConstructor : ServiceConstructor
JScript genel türleri veya yöntemleri desteklemez.

Tür Parametreleri

Dönüş Değeri

Tür: TServiceConstructor
Kayıtlı Hizmet belirtilen Type.

Özel Durumlar

Exception Koşul
ExtensibilityException

Birden fazla hizmet Oluşturucu istenen eşleşen Type, veya eşleşen Oluşturucu yoktu bulundu.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

DatabaseSchemaProvider Sınıf

Microsoft.Data.Schema Ad Alanı

ServiceConstructor