Property | Type | Description | |
---|---|---|---|
CreateProcessInfo |
Method | Description | |
---|---|---|
ChangeServiceState ( string host, string serviceName, WindowsServiceAction action ) : bool |
Changes the state of the specified Windows service using the specified action.
|
|
GetServiceState ( string host, string serviceName ) : WindowsServiceState |
Gets the state of the specified Windows service on the specified host.
|
|
ServiceUtils ( ) : System |
Creates a new instance of the
|
|
ServiceUtils ( IProcessUtils processUtils ) : System |
Creates a new instance of the
|
Method | Description | |
---|---|---|
CreateProcessInfo ( string processArgs ) : |
Creates a
|
public ChangeServiceState ( string host, string serviceName, WindowsServiceAction action ) : bool | ||
host | string | The name of the host to connect to where the Windows service resides. |
serviceName | string | The name of the Windows service. |
action | WindowsServiceAction | The action in which to perform on the Windows service. |
return | bool |
public GetServiceState ( string host, string serviceName ) : WindowsServiceState | ||
host | string | The name of the host to connect to where the Windows service resides. |
serviceName | string | The name of the Windows service. |
return | WindowsServiceState |
public ServiceUtils ( IProcessUtils processUtils ) : System | ||
processUtils | IProcessUtils | A reference to the |
return | System |