IServices

Declaration

IServices : IDispatch

Overview

This interface is meant to add new service operation or delete/edit the existing ones.

Properties

Array<IBaseServiceOperation> ServiceOperations - Gets the collection of project service operations.

Methods

NewServiceInstallOperation(IFile aServiceSourceFile) returns IServiceInstallOperation
Creates a new service install operation. Automatically adds a service control operation for the new service.

NewServiceControlOperation(String aServiceName) returns IServiceControlOperation
Creates a new service control operation.

NewServiceConfigureOperation(String aServiceName) returns IServiceConfigureOperation
Creates new service configure operation.

NewServiceFailureOperation(String aServiceName) returns IServiceFailureOperation
Creates new service configure operation.

DeleteServiceOperation(IBaseServiceOperation aOperation)
Deletes a service operation.

Example

$advinst = new-object -com AdvancedInstaller
$prj = $advinst.CreateProjectS("architect")

    

See also

IBaseServiceOperation

IServiceInstallOperation

Topics