Directory Services

IADsComputerOperations::Status

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

HRESULT Status( 
  IDispatch** ppObject
);

Parameters

ppObject
[out] Pointer to an IDispatch interface 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:

For other return values, see ADSI Error Codes.

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

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Iads.h.

See Also

IADsComputer, IDispatch, IADsComputerOperations