'The PauseService method attempts to place the service in the paused state. It returns an integer value of 0 if the PauseService request was accepted, 1 if the request is not supported, and any other number to indicate an error.'
PauseService method is in 1 class (SqlService) of ROOT\Microsoft\SqlServer\ComputerManagement12\ms_409 and in 6 namespaces
'The ResumeService method attempts to place the service in the resumed state. It returns an integer value of 0 if the ResumeService request was accepted, 1 if the request is not supported, and any other number to indicate an error.'
ResumeService method is in 1 class (SqlService) of ROOT\Microsoft\SqlServer\ComputerManagement12\ms_409 and in 6 namespaces
'The StartService method attempts to place the service into its startup state. It returns one of the following integer values: 0 - The request was accepted. 1 - The request is not supported. 2 - The user did not have the necessary access. 3 - The service cannot be stopped because other services that are running are dependent on it. 4 - The requested control code is not valid, or it is unacceptable to the service. 5 - The requested control code cannot be sent to the service because the state of the service (Win32_BaseService:State) is equal to 0, 1, or 2. 6 - The service has not been started. 7 - The service did not respond to the start request in a timely fashion. 8 - Unknown failure when starting the service. 9 - The directory path to the service executable was not found. 10 - The service is already running. 11 - The database to add a new service is locked. 12 - A dependency for which this service relies on has been removed from the system. 13 - The service failed to find the service needed from a dependent service. 14 - The service has been disabled from the system. 15 - The service does not have the correct authentication to run on the system. 16 - This service is being removed from the system. 17 - There is no execution thread for the service. 18 - There are circular dependencies when starting the service. 19 - There is a service running under the same name. 20 - There are invalid characters in the name of the service. 21 - Invalid parameters have been passed to the service. 22 - The account which this service is to run under is either invalid or lacks the permissions to run the service. 23 - The service exists in the database of services available from the system. 24 - The service is currently paused in the system. '
StartService method is in 1 class (SqlService) of ROOT\Microsoft\SqlServer\ComputerManagement12\ms_409 and in 11 namespaces
'The StopService method places the service in the stopped state. It returns an integer value of 0 if the service was successfully stopped, 1 if the request is not supported, and any other number to indicate an error.'
StopService method is in 1 class (SqlService) of ROOT\Microsoft\SqlServer\ComputerManagement12\ms_409 and in 11 namespaces
'The PathName property contains the fully qualified path to the service binary file that implements the service. Example: \SystemRoot\System32\drivers\afd.sys'
BinaryPath property is in 1 class (SqlService) of ROOT\Microsoft\SqlServer\ComputerManagement12\ms_409 and in 4 namespaces
'The DisplayName property indicates the display name of the service. This string has a maximum length of 256 characters. The name is case-preserved in the Service Control Manager. DisplayName comparisons are always case-insensitive. Constraints: Accepts the same value as the Name property. Example: Atdisk.'
DisplayName property is in 1 class (SqlService) of ROOT\Microsoft\SqlServer\ComputerManagement12\ms_409 and in 30 namespaces
'If this service fails to start during startup, the ErrorControl property specifies the severity of the error. The value indicates the action taken by the startup program if failure occurs. All errors are logged by the computer system. The computer system does not notify the user of "Ignore" errors. With "Normal" errors the user is notified. With "Severe" errors, the system is restarted with the last-known-good configuration. Finally, on"Critical" errors the system attempts to restart with a good configuration.'
ErrorControl property is in 1 class (SqlService) of ROOT\Microsoft\SqlServer\ComputerManagement12\ms_409 and in 6 namespaces
'The ExitCode property specifies a Win32 error code defining any problems encountered in starting or stopping the service. This property is set to ERROR_SERVICE_SPECIFIC_ERROR (1066) when the error is unique to the service represented by this class, and information about the error is available in the ServiceSpecificExitCode member. The service sets this value to NO_ERROR when running, and again upon normal termination.'
ExitCode property is in 1 class (SqlService) of ROOT\Microsoft\SqlServer\ComputerManagement12\ms_409 and in 8 namespaces
'The StartMode property indicates the start mode of the Win32 base service. "Boot" specifies a device driver started by the operating system loader. This value is valid only for driver services. "System" specifies a device driver started by the IoInitSystem function. This value is valid only for driver services. "Automatic" specifies a service to be started automatically by the service control manager during system startup. "Manual" specifies a service to be started by the service control manager when a process calls the StartService function. "Disabled" specifies a service that can no longer be started.'
StartMode property is in 1 class (SqlService) of ROOT\Microsoft\SqlServer\ComputerManagement12\ms_409 and in 15 namespaces
'The StartName property indicates the account name under which the service runs. Depending on the service type, the account name may be in the form of "DomainName\Username".The service process will be logged using one of these two forms when it runs. If the account belongs to the built-in domain, ".\Username" can be specified. If NULL is specified, the service will be logged on as the LocalSystem account. For kernel or system level drivers, StartName contains the driver object name (that is, \FileSystem\Rdr or \Driver\Xns) which the input and output (I/O) system uses to load the device driver. Additionally, if NULL is specified, the driver runs with a default object name created by the I/O system based on the service name. Example: DWDOM\Admin.'
StartName property is in 1 class (SqlService) of ROOT\Microsoft\SqlServer\ComputerManagement12\ms_409 and in 6 namespaces