WbemConnectOptionsEnum enumeration (wbemdisp.h)

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 = 0x80
} ;

Constants

 
wbemConnectFlagUseMaxWait
Value: 0x80
Shortens the timeout for the SWbemLocator.ConnectServer method call to two minutes.

Requirements

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

See also

Scripting API Constants