Microsoft Operations Manager

Sleep Method

The Sleepmethod suspends execution of the script for the specified number of seconds.

[VBScript] Utility.Sleep(Seconds Long)

Parameters

Seconds
Specifies the number of seconds to suspend the script.

Return Value

None

Examples

The following example shows how to suspend the script for two seconds.

[VBScript] 
Dim objUtil

Set objUtil = CreateObject("OpScrUtil.Utility")

objUtil.Sleep(2)

Set objUtil = Nothing

Requirements

Windows NT/2000: Requires Windows 2000 or 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.