TCDVcsAttachVersionLabel
Return to Introduction  Previous page  Next page
Attaches a Version Label to a file or revision.

Delphi (TCDirectIntf.pas)

function VcsAttachVersionLabel( FileID, RevisionID, VersionID: Cardinal; CanMove: Boolean ): Integer;  

Parameters

Name
Description
FileID
ID of the file
RevisionID
The revision ID to attach the label to. If zero, the label will be attached to the tip revision for this View.
VersionID
The ID for the Version Label to attach
CanMove
If True, and the Version Label has already been assigned to a revision of this file, it will be deleted before the label is reassigned to the new revision.


Return Value

Err_OK if successful or an error code indicating the error.

Remarks

Depending on the current View, the 'tip revision' may not be the latest revision of the file. For more information on Views, refer to the main Team Coherence help file.

Exported

function TCDVcsAttachVersionLabel( FileID, RevisionID, VersionID: Cardinal; CanMove: Boolean ): Integer; stdcall;  


 


© 1995-2018 MCN Software