IDatabaseRevisions¶
- class IDatabaseRevisions¶
Bases:
ImpactCOMWrapperBase,Iterable- Summary:
A collection of IDatabaseRevision objects.
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property count¶
Gets Count.
- Summary:
The number of items in this collection.
- Returns:
The value of Count.
- Return type:
count (int)
- isNone()¶
Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.
- item(index)¶
- Summary:
Gets an IDatabaseRevision object with the specified name or index.
- Remarks:
If you pass Index a string value, the method will match with Revision.number (and will never return non-revision updates). If you supply an integer, it matches against all items including updates. So Revisions.item(4) not usually give the same result as Revisions.item(“4”).
- Parameters:
index (any) – Specifies the index of the IDatabaseRevision object to get.
- refresh()¶
- Summary:
Refresh the IDatabaseRevisions collection from the database.