WbemConnectOptionsEnum Enumeration

The WbemConnectOptionsEnum constant defines a security flag that is used as a parameter in calls to the SWbemLocator.ConnectServer method when a connection to WMI on a remote machine is failing.

Syntax

typedef enum WbemConnectOptionsEnum {
  wbemConnectFlagUseMaxWait
} ;

Constants

wbemConnectFlagUseMaxWait Shortens the timeout for the SWbemLocator.ConnectServer method call to two minutes.

Requirements

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

See Also

Scripting API Constants