adTempus API
ArcanaDevelopment.adTempus.ApplicationIntegration Namespace / IApplicationIntegration Interface / Sleep Method
The number of milliseconds to sleep.


In This Topic
    Sleep Method (IApplicationIntegration)
    In This Topic
    Delays execution for the specified number of milliseconds.
    Syntax
    'Declaration
     
    
    Function Sleep( _
       ByVal timeoutMS As Integer _
    ) As Boolean
    bool Sleep( 
       int timeoutMS
    )
    bool Sleep( 
       int timeoutMS
    ) 

    Parameters

    timeoutMS
    The number of milliseconds 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