The interface definition is as follows:
interface IADsServiceOperations: IADs
{
// Read-only Properties
[propget]
HRESULT Status([out,retval]* plStatus);
// Methods.
HRESULT Start (void);
HRESULT Stop (void);
HRESULT Pause (void);
HRESULT Continue (void);
HRESULT SetPassword([in]BSTR bstrNewPassword);
};
Method | Syntax | Description | |
Status | long | Retrieves the status of the service (see values below) | |
Start | Method | Starts a service. | |
Stop | Method | Stops a service. | |
Pause | Method | Pauses a service. | |
Continue | Method | Resumes a service. | |
SetPassword | Method | Sets the password for the account that will be used by the service manager when creating the security context for this service. This account is identified by the ServiceAccountName property. |