CmAdmCtl.TCOMAdminCatalogCollection.Populate
Contents |
Delphi Information
From CmAdmCtl.pas
procedure Populate
Unit: CmAdmCtl
Type: method
Visibility: public
Member Of: TCOMAdminCatalogCollection
C++ Information
From CmAdmCtl.hpp
void __fastcall Populate(void);
Unit: CmAdmCtl
Type: method
Visibility: public
Member Of: TCOMAdminCatalogCollection
Description
Fills the collection object with items from the catalog.
Call Populate to set the items of the collection to those currently saved for this collection in the COM+ catalog. When you first obtain an instance of TCOMAdminCatalogCollection, it does not yet contain any items, and you must call Populate to fill it with the associated items.
After making changes to the collection (such as adding or removing objects or changing object properties) are not saved to the COM+ catalog until you call the SaveChanges method. Thus, if you call Populate after making changes but before calling SaveChanges, all your changes are rolled back and the collection is restored to the state that is saved in the COM+ catalog.