IADsServiceOperations interface (iads.h)

The IADsServiceOperations interface is a dual interface that inherits from IADs. It is designed to manage system services installed on a computer. You can use this interface to start, pause, and stop a system service, change the password, and examine the status of a given service across a network.

Of the system services and their operations, file service and file service operations are a special case. They are represented and managed by IADsFileService and IADsFileServiceOperations.

Inheritance

The IADsServiceOperations interface inherits from IDispatch and IADs. IADsServiceOperations also has these types of members:

Methods

The IADsServiceOperations interface has these methods.

 
IADsServiceOperations::Continue

The IADsServiceOperations::Continue method resumes a service operation paused by the IADsServiceOperations::Pause method.
IADsServiceOperations::Pause

The IADsServiceOperations::Pause method pauses a service started with the IADsServiceOperations::Start method.
IADsServiceOperations::SetPassword

The IADsServiceOperations::SetPassword method sets the password for the account used by the service manager. This method is called when the security context for this service is created.
IADsServiceOperations::Start

The IADsServiceOperations::Start method starts a network service.
IADsServiceOperations::Stop

The IADsServiceOperations::Stop method stops a currently active network service.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header iads.h

See also

IADs

IADsFileService

IADsFileServiceOperations

IDispatch