Microsoft Operations Manager

SleepMs Method

The SleepMsmethod suspends execution of the script for the specified number of milliseconds.

[VBScript] Utility.SleepMs(MilliSeconds
Long)

Parameters

Milliseconds
Specifies the number of milliseconds to suspend the script.

Return Value

None

Examples

The following example shows how to suspend the script for 2000 milliseconds.

[VBScript] 
Dim objUtil

Set objUtil = CreateObject("OpScrUtil.Utility")

objUtil.SleepMs(2000)

Set objUtil = Nothing

Requirements

Windows NT/2000: Requires Windows 2000 later
Version: Requires MOM 1.0 SP1

See Also

Utility Object


Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.