InitializeSqlCollection Method

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

Return Value

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

Remarks

The InitializeSqlCollection method calls the proc_getServicesByClass stored procedure to retrieve the list of existing Service objects from the Services table in the configuration database.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security