Platform SDK: Active Directory, ADSI, and Directory Services

IADsComputerOperations::Status

The IADsComputerOperations::Status method retrieves the status of a computer.

HRESULT IADsComputerOperations::Status(
IDispatch ** ppObject  
);

Parameters

ppObject
[out, retval] Pointer to an IDispatchinterface that reports the status code of computer operations. The status code is provider-specific.

Return Values

This method supports the standard return values as well as the following:

S_OK
The object containing the status code is obtained successfully.
E_FAIL
The operation has failed.

For other return values, see ADSI Error Codes.

Requirements

  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.

See Also

IADsComputer, IDispatch, IADsComputerOperations