The ICCLock interface represents the Rational® ClearCase® lock object.
Users can change files and directories under Rational ClearCase source control, as well as metadata and instances using Rational ClearCase commands. In some situations, it is permanently or temporarily inadvisable to allow such changes. A mechanism is provided to lock source-controlled data, metadata, and metadata instances so that such changes are prohibited.
Gets the creation record for this lock
Read-only property
Property CreationRecord As CCHistoryRecord
Gets the users that are exempt from this lock
Read-only property
Property ExemptUsersStringArray As Variant
_variant_t GetExemptUsersStringArray();
An array of Variants that contain String values which represent the names of users exempt from this lock.
Gets whether the locked object is marked as obsolete
Read-only property
Property IsObsolete As Boolean
VARIANT_BOOL GetIsObsolete();
Gets the object that is held by this lock
Read-only property
Property LockedObject As CCVOBObject
Gets the number of users that are exempted from this lock
Read-only property
Property NumberOfExemptUsers As Long
long GetNumberOfExemptUsers();
Removes this lock
Method
Sub Remove([ Comment As String = "" ])
HRESULT Remove(_bstr_t Comment);
Member of: ICCLock interface
Sets the users that are exempt from this lock
Method
Sub SetExemptUsersStringArray([ ExemptUsersStringArray As Variant ], [ Comment As String = "" ])
HRESULT SetExemptUsersStringArray( const _variant_t& ExemptUsersStringArray, _bstr_t Comment);
Sets whether the locked object is marked as obsolete
Method
Sub SetObsolete(IsObsolete As Boolean, [ Comment As String = "" ])
HRESULT SetObsolete( VARIANT_BOOL IsObsolete, _bstr_t Comment);