Platform SDK: Transaction Server

ICatalogCollection::get_Count

[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]

The get_Count method returns the number of objects in the collection.

HRESULT ICatalogCollection::get_Count(
long *
retval);

Parameters

retval [out]
Pointer to the number of elements in the object collection.

Return Values

S_OK
Method completed successfully.

E_INVALIDARG
Out parameter is NULL.

Remarks

See the Using MTS Collections topic for a list of the MTS collections and their properties.