ReleaseDeleteDocumentListContainer As Long - Integration - Update 46 - Help - Hexagon

SmartPlant Integration .NET 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 should be called in conjunction with GetDocumentListContainerForDocumentDelete method. The purpose of this method is to cancel the delete transaction started in the GetDocumentListContainerForDocumentDelete method called previously. The design tool should call this method if an error occurs after GetDocumentListContainerForDocumentDelete is called, or if the design tool allows users to cancel the operation after GetDocumentListContainerForDocumentDelete is called, or if the design tool logic forces cancellation.

ReleaseDeleteDocumentListContainer releases all pointers to Container Compositions and Containers created in the GetDocumentListContainerForDocumentDelete method and terminates the delete transaction.

Arguments

None

Return Value

  • 0 if method is successful.

  • A negative number if method fails (check the LastErrorMessage property for error message).

Comments

The design tool should release all local pointers to IContainer.