This method resets the design basis in the SmartPlant Foundation database to the beginning of the project for all documents if the sRetDocUID is NULL, meaning that all tombstones/unclaims/update instructions are retrieved again in the next retrieve. If the sRetDocUID is specified, then only that document is reset to the beginning and only the tombstones/unclaims/Update instructions associated with that document are retrieved when the document is retrieved next time.
Signature
ResetDesignBasis (Optional sRetDocUID As String) As Long
Arguments
Name |
Data type |
Input/output |
Description |
---|---|---|---|
sRetDocUID |
String (maximum 128 characters) |
Input |
Optional. The UID of the retrieved document that is being reset. If the argument is NULL, then the reset is done on all retrieved documents. |
Return Value
0 if the method is successful.
A negative number if the method fails. (Check LastErrorMessage property for error message.)