Platform SDK: Active Directory, ADSI, and Directory Services |
The IADsComputerOperations::Shutdown method causes a computer under ADSI control to execute the shutdown operation with an optional reboot.
HRESULT IADsComputerOperations::Shutdown( boolean bReboot );
This method supports the standard return values, as well as the following:
For other return values, see ADSI Error Codes.
Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with DSClient).
Windows 95/98: Requires Windows 95 or later (with DSClient).
Header: Declared in Iads.h.