(comadmin.h) ICatalogCollection 介面

表示 COM+ 目錄中的任何集合。 ICatalogCollection 可讓您列舉、新增、移除和擷取集合中的專案,以及存取相關的集合。

繼承

ICatalogCollection 介面繼承自 IDispatch 介面。 ICatalogCollection 也有下列類型的成員:

方法

ICatalogCollection 介面具有這些方法。

 
ICatalogCollection::Add

將專案加入至集合,並提供高索引值。
ICatalogCollection::get__NewEnum

擷取可用來逐一查看集合物件的列舉值。
ICatalogCollection::get_AddEnabled

指出是否已為集合啟用 Add 方法。
ICatalogCollection::get_Count

擷取集合中的項目數。 (ICatalogCollection.get_Count)
ICatalogCollection::get_DataStoreMajorVersion

擷取目錄數據存放區的主要版本號碼。
ICatalogCollection::get_DataStoreMinorVersion

擷取目錄數據存放區的次要版本號碼。
ICatalogCollection::get_Item

擷取對應至指定索引的專案。
ICatalogCollection::get_Name

擷取集合的名稱。
ICatalogCollection::get_RemoveEnabled

指出是否已啟用集合的 Remove 方法。
ICatalogCollection::GetCollection

從與目前集合相關的 COM+ 目錄中擷取集合。
ICatalogCollection::GetUtilInterface

擷取集合的公用程式介面。
ICatalogCollection::P opulate

在集合中填入包含之所有項目的數據。
ICatalogCollection::P opulateByKey

根據指定的索引鍵,從 COM+ 目錄填入集合中選取的項目清單。
ICatalogCollection::P opulateByQuery

保留供未來使用。 (ICatalogCollection.PopulateByQuery)
ICatalogCollection::Remove

從集合中移除專案,並指定其索引,並以較高的索引值重新編製專案索引。
ICatalogCollection::SaveChanges

儲存對集合所做的所有暫止變更,以及它包含至 COM+ 目錄數據存放區的專案。

規格需求

需求
最低支援的用戶端 Windows 2000 Professional [僅限傳統型應用程式]
最低支援的伺服器 Windows 2000 Server [僅限桌面應用程式]
目標平台 Windows
標頭 comadmin.h

另請參閱

COMAdminCatalogCollection