IFsrmMutableCollection.WaitForCompletion Method (Int32)
Limits the time that an asynchronous collection can take to collect the objects.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
bool WaitForCompletion(
int waitSeconds
)
bool WaitForCompletion(
int waitSeconds
)
abstract WaitForCompletion :
waitSeconds:int -> bool
Function WaitForCompletion (
waitSeconds As Integer
) As Boolean
Parameters
waitSeconds
Type: System.Int32The number of seconds to wait for the collection to finish collecting objects. To wait indefinitely, set this parameter to –1.
Return Value
Type: System.Boolean
Returns VARIANT_TRUE if the collection finished collecting objects in the time specified; otherwise, VARIANT_FALSE.
Implements
IFsrmCollection.WaitForCompletion(Int32)
See Also
IFsrmMutableCollection Interface
Microsoft.Storage Namespace
Return to top