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)

Syntax


public void Teardown(
	Object key,
	bool destroyConnection
)

Parameters

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