Previous Topic: MergeRule Property

Next Topic: VersionDescription Property


Placement Property

Gets or sets Rule for how the merged version appears in the destination state.

Syntax

object.Placement = [value]

Owning Class

CaWCrossProjectMerge

Arguments

value - A string that represents the placement.

Notes

The following are the allowable values for the Placement.

B

Creates a merge version on the target branch. This allows changes to be copied from the source project to the target project even if one or more target items are reserved for updates in the main trunk. With this option, a branch will be created to store the changes.

T

Creates a merge version on the target trunk.

A

Creates a merge version on the target trunk or branch. This allows changes to be copied from the source project to the target project even if one or more target items are reserved for update in the main trunk. If items are reserved for update on the trunk, a branch will be created to store the changes. If items are not reserved for update on the trunk, the items are simply copied to the trunk.

Example

Dim objCrossProjectMerge
Set objCrossProjectMerge = objContext.GetCrossProjectMerge();
objCrossProjectMerge.Placement = “T”
 strMergeRule = objCrossProjectMerge.Placement