Vcl.CmAdmCtl.TCOMAdminCatalog.RefreshComponents
Delphi
procedure RefreshComponents;
C++
void __fastcall RefreshComponents();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.CmAdmCtl.pas Vcl.CmAdmCtl.hpp |
Vcl.CmAdmCtl | TCOMAdminCatalog |
Description
Refreshes component registration information from the Registry.
RefreshComponents compares CLSIDs and ProgIDs between the COM+ class registration database (RegDB) and the Registry for mismatches. When it detects a mismatch in CLSIDs and ProgIDs, RefreshComponents updates the COM+ class registration database (RegDB).
RefreshComponents only updates CLSID information. It does not update interface or method information. Components that are refreshed using RefreshComponents can not be configured or secured at the interface or method levels in COM+ applications.
Note: You generally should not use RefreshComponents. The recommended way to update components in COM+ applications is to remove and reinstall the components using InstallComponent, so that complete registration information is updated in RegDB.