Adds a member to a collection object and returns the CatalogObject object.
Syntax
object.Add
Parameters
object
Required. An object variable that evaluates to a CatalogCollection object.
Remarks
Call the Add method to create a new object in a collection. This method is supported in the following collections:
Packages
RolesInPackage
UsersInRole
To install or create objects in other collections, use the catalog utility interfaces. Note that you must call the SaveChanges method to write the new object to the catalog data store.
For a list of the MTS collections and their properties, see Using MTS Collections.
See Also
MTS Packages Collection, MTS RolesInPackage Collection, MTS UsersInRole Collection, AddEnabled Property (CatalogCollection)