WbemTimeout Enumeration

The WbemTimeout constant defines the time-out constants. This constant is used by SWbemEventSource.NextEvent.

The WMI scripting type library, wbemdisp.tlb, defines these constants. Visual Basic applications can access this library; script languages must use the value of the constant directly, unless they use Windows Script Host (WSH) XML file format. For more information, see Using the WMI Scripting Type Library.

Syntax

typedef enum WbemTimeout {
  wbemTimeoutInfinite
} ;

Constants

wbemTimeoutInfinite Use for parameters that use a time-out value such as iTimeoutMs for ISWbemServices.ExecNotificationQuery and the call will not return unless an event is received.

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header wbemdisp.h

See Also

Scripting API Constants