Sage Modeling and Simulation Library

MaterialService..::..Teardown Method (Object, Boolean)

Releases all ports, capacity and connector tokens, and removes the MaterialTransfer object from the transferTable. This call must correspond 1-to-1 with any setup and execute calls, and must follow the Execute(...) call.

Namespace:  Highpoint.Sage.Materials
Assembly:  Sage4 (in Sage4.dll)


public void Teardown(
	Object key,
	bool destroyConnection


Type: Object
The object that was returned as the key from the original Setup call.
Type: Boolean
if set to true the teardown will destroy the connection.