Platform SDK: Windows Management Instrumentation

ResumeService Method in Class Win32_BaseService

The ResumeService WMI class method attempts to place the service in the resumed state. This topic uses Visual Basic syntax. For information on using this method with C/C++, see Calling a Method.

BaseService.ResumeService() As Integer

Parts

BaseService
Expression that resolves to an instance of Win32_BaseService.

Return Values

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.

See Also

Operating System Classes, Win32_BaseService