Udostępnij za pośrednictwem


SqlDatabaseData.GetRegistrations Method

Creates a TypeRegistration instance describing the SqlDatabase represented by this configuration object.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data.Sql.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)

Syntax

'Declaration
Public Overrides Function GetRegistrations As IEnumerable(Of TypeRegistration)
public override IEnumerable<TypeRegistration> GetRegistrations()
public:
virtual IEnumerable<TypeRegistration^>^ GetRegistrations() override
public override function GetRegistrations() : IEnumerable<TypeRegistration>

Return Value

A TypeRegistration instance describing a database.

See Also

SqlDatabaseData Class

Microsoft.Practices.EnterpriseLibrary.Data.Sql.Configuration Namespace