Undeploys the processing unit and waits until all instances have been undeployed.
In case of an Elastic processing unit, also waits for containers to shutdown.
The undeployment process will wait for the given timeout and return when all processing units have undeployed or timeout expired.
Declaration Syntax
Parameters
- timeout (TimeSpan)
- Time to wait.
Return Value
True if undeploy completed successfully within the specified timeout. False if undeploy is still in progress.