ReleaseContainersForQueryDocuments 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 is the third of the three called to query documents from SmartPlant Foundation. This method releases the document data container and the document meta-data container created in the CreateContainersForQueryDocuments method. This method must be called if the CreateContainersForQueryDocuments method is called (regardless of whether the QueryDocuments’ method is called) to make sure no memory leaks occur as a result of unreleased containers.

Arguments

None.

Return Value

  • 0 if the method is successful.

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

Comments

None.