Condividi tramite


IFsrmCommittableCollection.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.Int32

    The 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 Returns VARIANT_TRUE if the collection finished collecting objects in the time specified; otherwise, VARIANT_FALSE.

Implements

IFsrmMutableCollection.WaitForCompletion(Int32)

See Also

IFsrmCommittableCollection Interface
Microsoft.Storage Namespace

Return to top