IADsComputerOperations::Status

Causes a computer under Active Directory control to execute the shutdown operation with an optional reboot.

HRESULT IADsComputerOperations::Status(
  IDispatch ** ppObject  //TBD.
);
 

Parameter

ppObject
[out, retval] Computer Operations status code.

Return Values

This method supports the standard return values E_FAIL and E_UNEXPECTED, as well as the following:

S_OK
The shutdown command has been issued successfully.

See Also

IADsComputer, ADSI Computer Object