Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

ICatalogObject interface

Represents items in collections on the COM+ catalog. ICatalogObject enables you to get and put properties exposed by objects in the catalog.

The ICatalogCollection::Item method returns a pointer to ICatalogObject when it retrieves an item in the collection.

When to implement

You do not need to implement the ICatalogObject interface.

When to use

Use the methods and properties of ICatalogObject to set and get properties on the item it is being used to represent. Any changes you make to the item by using ICatalogObject are not reflected on the catalog data store until you call ICatalogCollection::SaveChanges for the collection containing the item.

For information regarding the collections in the COM+ catalog, see COM+ Administration Collections.

For an introduction to programmatic administration of COM+, see Automating COM+ Administration.

Members

The ICatalogObject interface inherits from the IDispatch interface. ICatalogObject also has these types of members:

Methods

The ICatalogObject interface has these methods.

MethodDescription
IsPropertyReadOnly

Indicates whether the specified property can be modified using put_Value.

IsPropertyWriteOnly

Indicates whether the specified property can be read using get_Value.

 

Properties

The ICatalogObject interface has these properties.

PropertyAccess typeDescription

Key

Read-only

The key property of the object.

Name

Read-only

The name property of the object.

Valid

Read-only

Indicates whether all properties were successfully read from the catalog data store.

Value

Read/write

The value of a named property.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ComAdmin.h

IDL

ComAdmin.Idl

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.