IADsServiceOperations interface

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.

Members

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

Methods

The IADsServiceOperations interface has these methods.

MethodDescription
Continue

Continues the service.

Get

Gets the value for a property by name.

GetEx

Gets the value for a single or multi-valued property by name.

GetInfo

Loads the property values of this object from the underlying directory store.

GetInfoEx

Loads specific property values of this object from the underlying directory store.

Pause

Pauses the service.

Put

Sets the value for a property by name.

PutEx

Sets the value for a single or multi-valued property by name.

SetInfo

Persists the changes on this object to the underlying directory store.

SetPassword

Sets the password to be used by the service manager to create a security context.

Start

Starts the service.

Stop

Stops the service.

 

Properties

The IADsServiceOperations interface has these properties.

PropertyAccess typeDescription

AdsPath

Read-only

Gets the object's ADsPath that uniquely identifies this object from all others.

Class

Read-only

Gets the name of the object's schema class.

GUID

Read-only

Gets the GUID of the object as stored in the underlying directory store.

Name

Read-only

Gets the object's relative name.

Parent

Read-only

Gets the ADsPath string for the parent of the object.

Schema

Read-only

Gets the ADsPath string to the schema class object for this object.

Status

Read-only

Gets the status of the service.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Iads.h

DLL

Activeds.dll

IID

IID_IADsServiceOperations is defined as 5D7B33F0-31CA-11CF-A98A-00AA006BC149

See also

IADsFileService
IADsFileServiceOperations

 

 

Show:
© 2014 Microsoft