RAD Studio VCL Reference
TCOMAdminCatalogCollection.Populate Method

Fills the collection object with items from the catalog.

procedure Populate;
__fastcall Populate();

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!