This topic has not yet been rated - Rate this topic

Invoke method of the Win32_ServiceSpecification Class

Applies to: desktop apps only

The Invoke WMI class method of the Win32_ServiceSpecification class evaluates a particular check. The details of how the method evaluates a particular check in a CIM context are described by the non-abstract CIM_Check subclasses. The results of the method are based on the return value.

Note  For more information about support or requirements for installation on a specific operating system, see Operating System Availability of WMI Components.

This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see Calling a Method.

Syntax

uint32 Invoke();

Parameters

This method has no parameters.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Namespace

\root\CIMV2

MOF

Msi.mof

DLL

Msiprov.dll

See also

Installed Applications Classes
Win32_ServiceSpecification

 

 

Send comments about this topic to Microsoft

Build date: 3/9/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ