Inherited from
Applies to Objects
This interface is exposed from the Service object. It can be used to perform operations like starting the service, stopping the service, and so on. It can also be used to set the password for the account that will be used by the service manager when authenticating the account for starting the service.
Property/Method |
Description |
Resumes a service |
|
Pauses a service |
|
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 |
|
Starts a service published and currently available on the network |
|
Gets the status of the service |
|
Stops a currently active service on the network |
Example
Dim SerOpr As IADsServiceOperations
'Get the service operations interface
Set SerOpr = GetObject("NTDS://MSFT/MOON/Messenger")
'Get the status
Debug.Print SerOpr.Status