Previous Topic: Recursive Property (Write Only)

Next Topic: VersionOption Property (Write Only)


BranchOption Property (Write Only)

Sets the Branch option to specify whether trunk versions, branch versions, or both are to be retrieved.

Syntax

object.BranchOption = [value]

Owning Class

CaWVersionChooser

Arguments

value - A long that represents the Branch Option.

Notes

The following are the allowable values for the Branch Option:

1

Only get trunk versions.

16

Only get branch versions.

256

Only get unmerged branches.

4096

Only get merged branches.

273

Get trunk and branched versions.

Example

Dim objVersionChooser
Set objVersionChooser = objContext.GetVersionChooser()
objVersionChooser.BranchOption = BRANCH_FILTER_TRUNK_AND_BRANCH

More information: