Platform SDK: Transaction Server |
[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]
The Add method adds a default object to the collection and returns a pointer to the new object.
HRESULT ICatalogCollection::Add(
IDispatch ** |
ppCatalogObject); |
Parameters
ppCatalogObject [out]
Pointer to a pointer to the new Catalog object.
Return Values
S_OK
Method completed successfully.
E_INVALIDARG
Out parameter is NULL.
E_NOTIMPL
Not supported on this collection.
Remarks
To update the objects in a collection, call the Add method to create a new object either before or after populating a collection.
See the Using MTS Collections topic for a list of the MTS collections and their properties.