ResetDesignBasisByGMTTime Method - Integration - Update 44 - Help - Hexagon

SmartPlant Integration COM Help

Language
English
Product
Integration
Search by Category
Help
SmartPlant Foundation / SDx Version
10
Smart P&ID Version
9 (2019)
Smart Engineering Manager Version
10 (2019)

This method resets the design basis in the SmartPlant Foundation database to the time specified in GMT for all documents if the sRetDocUID is NULL, meaning that all tombstones/unclaims/update instructions generated since the time specified, will be retrieved again in the next retrieve. If the sRetDocUID is specified, then only that document is reset to the time specified so that only the tombstones/unclaims/update instructions (generated since the time specified) associated with that document will be retrieved when the document is retrieved next time.

Signature

ResetDesignBasisByGMTTime (sDateTime as Date, Optional sRetDocUID As String) As Long

Arguments

Name

Data type

Input/output

Description

sDateTime

Date

Input

Time in GMT. The design basis reset is done to the time specified.

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.)