Start a service.
Namespace: Bespoke.CommonAssembly: Bespoke.Common (in Bespoke.Common.dll) Version: 5.0.0.0 (5.0.0.0)
Public Shared Function StartService ( _
serviceName As String _
) As Boolean
Public Shared Function StartService ( _
serviceName As String _
) As Boolean
public static bool StartService(
string serviceName
)
public static bool StartService(
string serviceName
)
public:
static bool StartService(
String^ serviceName
)
public:
static bool StartService(
String^ serviceName
)
Parameters
- serviceName
- Type: System String
The name of the service to start.
Return Value
true if the service was successfully started; otherwise, false.