GigaSpaces XAP.NET Documentation
UndeployAndWait Method (timeout)
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.ProcessingUnitIProcessingUnitUndeployAndWait(TimeSpan)
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 BasicVisual 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.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 9.7.0.0 (9.7.2.11000)