IADsServiceOperations::Stop

Stops a currently active service on the network.

HRESULT IADsServiceOperations::Stop(void);
 

Return Values

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

S_OK
The stop command has been successfully issued.

QuickInfo

  Windows NT: Use version 4.0 and later.
  Windows CE: Unsupported.
  Header: Declared in iads.h.

See Also

IADsService, ADSI Service Object