ReleasePublishDocumentListContainer 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 GetDocumentListContainerForPublish. The purpose of this method is to cancel the publish transaction started in the GetDocumentListContainerForPublish method called previously. The design tool must call this method if an error occurs after GetDocumentListContainerForPublish is called, if the design tool allows users to cancel operation after GetDocumentListContainerForPublish is called, or if the design tool logic forces cancellation.

ReleasePublishDocumentListContainer releases all pointers to Container Compositions and Containers created in the GetDocumentListContainerForPublish method and terminates the publish 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.