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
C# | Visual Basic | Visual C++ | J# |
bool UndeployAndWait( TimeSpan timeout )
Function UndeployAndWait ( _ timeout As TimeSpan _ ) As Boolean
bool UndeployAndWait( TimeSpan timeout )
boolean UndeployAndWait( TimeSpan timeout )
Parameters
- timeout (TimeSpan)
- Time to wait.
Return Value
True if undeploy completed successfully within the specified timeout. False if undeploy is still in progress.