Share via


InitializeSqlCollection Method

When overridden in a derived class, the InitializeSqlCollection method of the DatabaseCollection class initializes the DatabaseCollection object with the list of existing Database objects from the configuration database.

Return Value

A System.Data.SqlClient.SqlDataReader object that contains the list of existing Database objects.

Remarks

The InitializeSqlCollection method calls the proc_getDatabases stored procedure to retrieve the list of existing Database objects from the Databases table in the configuration database.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security