SharedProperty 類別

設定或擷取共用屬性的值。

如需在 COM+ 中使用共用屬性管理員的一般資訊,請參閱 COM+ 共用屬性管理員

實作時機

這個類別是由 COM+ 實作。

需求
介面 ISharedProperty

使用時機

使用此類別來存取 ISharedProperty的方法。

備註

您可以使用 ISharedPropertyGroupCreatePropertyCreatePropertyByPosition 方法來建立 SharedProperty物件。

若要從 Microsoft Visual Basic 使用此類別,請新增 COM+ 服務型別程式庫的參考。 SharedProperty 物件是藉由呼叫SharedPropertyGroup物件的CreatePropertyCreatePropertyByPosition方法來建立。

規格需求

需求
最低支援的用戶端
Windows 2000 專業版 [僅限傳統型應用程式]
最低支援的伺服器
Windows 2000 Server [僅限傳統型應用程式]
標頭
ComSvcs.h

另請參閱

ISharedProperty

SharedPropertyGroup

SharedPropertyGroupManager