The ICCVersion interface represents the Rational® ClearCase® version object.
Gets the current view's version of this version's parent directory
Checks out this version
Method
Function CheckOut(ReservedState As CCReservedState, [ Comment As String = "" ], [ UseHijacked As Boolean = False ], [ Version As CCVersionToCheckOut = CCVersion_Default ], [ MustBeLatest As Boolean = False ], [ PreserveTime As Boolean = False ]) As CCCheckedOutFile
ICCCheckedOutFilePtr CheckOut( CCReservedState ReservedState, _bstr_t Comment, VARIANT_BOOL UseHijacked, CCVersionToCheckOut Version, VARIANT_BOOL MustBeLatest, VARIANT_BOOL PreserveTime);
A CCCheckedOutFile object that represents the checked-out file.
A view context is required for CheckOut to succeed. CheckOut always fails for a file in the "hijacked, no checkout" state.
Member of: ICCVersion interface
Gets the identifier string of this version
Read-only property
Property Identifier As String
Gets whether this object represents a checked-out file
Read-only property
Property IsCheckedOut As Boolean
Gets whether this version is different from its predecessor
Read-only property
Property IsDifferent As Boolean
Gets whether this version is hijacked
Read-only property
Property IsHijacked As Boolean
Gets whether this version is the latest on its branch
Read-only property
Property IsLatest As Boolean
Gets a label of a specific type for this version
Read-only property
Property Label(LabelType As String) As CCLabel
ICCLabelPtr GetLabel(_bstr_t LabelType);
Member of: ICCVersion interface
Gets the collection of labels associated with this version
Read-only property
Property Labels As CCLabels
Gets the current view's version of this version's parent directory
Read-only property
Property Parent As CCVersion
Gets the predecessor version of this version
Read-only property
Property Predecessor As CCVersion
Removes the version irretrievably
Method
Sub RemoveVersion([ Comment As String = "" ], [ DataOnly As Boolean = False ], [ EvenIfBranches As Boolean = False ], [ EvenIfLabels As Boolean = False ], [ EvenIfAttributes As Boolean = False ], [ EvenIfHyperlinks As Boolean = False ])
HRESULT RemoveVersion( _bstr_t Comment, VARIANT_BOOL DataOnly, VARIANT_BOOL EvenIfBranches, VARIANT_BOOL EvenIfLabels, VARIANT_BOOL EvenIfAttributes, VARIANT_BOOL EvenIfHyperlinks);
Member of: ICCVersion interface
Gets any branches sprouting from this version
Read-only property
Property SubBranches As CCBranches
ICCBranchesPtr GetSubBranches();