MSI Factory 2.3

Service.Stop

Service.Stop

Previous topic Next topic  

Service.Stop

Previous topic Next topic  

OverviewExamples

Service.Stop (

string DisplayName,

string KeyName = "",

number WaitTime = 0 )

Description

Stops a specific service on the user's system.

Parameters

DisplayName

(string) The display name of the service that you wish to stop.

KeyName

(string) The key name of the service that you wish to stop.

Note: The key name is only required if no service matches the display name.

WaitTime

(number) The maximum time to wait for the service to stop (in seconds).

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us