Meta Data Services Programming

VersionCol Add Method

This method adds a new item to a relationship collection, when the sequencing of relationships in the collection is not important. The new relationship connects the reposObj object version to the source object version of the collection. The new relationship is passed back to the caller.

Syntax

Set variable  =  object.Add(reposVersion)

The Add method syntax has the following parts.

Part Description
variable A variable declared as a RepositoryObjectVersion object. It receives the object version that is added to the collection.
object The version collection.
reposVersion The Repository object version to be added to the collection.

Remarks

There are many different kinds of object-version collections. You can apply the Add method to some of them, but not to others. This method succeeds for:

This method fails for:

See Also

Kinds of Version Collections