adTempus API
ArcanaDevelopment.adTempus.ApplicationIntegration Namespace / IApplicationIntegration Interface / Sleep Method / Sleep(TimeSpan) Method
The time to sleep.


In This Topic
    Sleep(TimeSpan) Method
    In This Topic
    Delays execution for the specified time
    Syntax
    'Declaration
     
    
    Overloads Function Sleep( _
       ByVal timeout As TimeSpan _
    ) As Boolean
    bool Sleep( 
       TimeSpan timeout
    )
    bool Sleep( 
       TimeSpan timeout
    ) 

    Parameters

    timeout
    The time to sleep.

    Return Value

    true if the wait period elapsed, or false if the script/step/job was aborted before the wait elapsed.
    Remarks
    Use this method to sleep safely inside a script and abort processing if the script is terminated.
    See Also