Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
See Also
IFsrmCollection Interface
Microsoft.Storage Namespace
Return to top