Expand Minimize
This topic has not yet been rated - Rate this topic

Win32_DependentService class

The Win32_DependentService association WMI class relates two interdependent base services.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

class Win32_DependentService : CIM_ServiceServiceDependency
{
  Win32_BaseService REF Antecedent;
  Win32_BaseService REF Dependent;
  uint16            TypeOfDependency;
};

Members

The Win32_DependentService class has these types of members:

Properties

The Win32_DependentService class has these properties.

Antecedent
Data type: Win32_BaseService
Access type: Read-only
Qualifiers: Key

Reference to the instance representing the base service relied upon by the Dependent property of this class.

Dependent
Data type: Win32_BaseService
Access type: Read-only
Qualifiers: Key

Reference to the instance representing the base service that is dependent on the Antecedent property of this class.

TypeOfDependency
Data type: uint16
Access type: Read-only

Nature of the service to service dependency. This property describes that the associated service must have completed (2), must be started (3), or must not be started (4) for the service to function.

ValueMeaning
0

Unknown

1

Other

2

Service Must Have Completed

3

Service Must Be Started

4

Service Must Not Be Started

 

Remarks

The Win32_DependentService class is derived from CIM_ServiceServiceDependency.

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Namespace

\root\CIMV2

MOF

Cimwin32.mof

DLL

Cimwin32.dll

See also

Operating System Classes

 

 

Send comments about this topic to Microsoft

Build date: 11/19/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.