本文件已封存並已停止維護。

Recommended Base Classes

更新日期: 2010年4月

適用於: System Center Operations Manager 2007

The following table provides the list of classes from management pack libraries that should be used as the base class for classes that are defined in your management pack. They may be used directly as the base class for concrete classes or for custom abstract classes that other classes in your management pack will inherit from. This set of classes will be sufficient to achieve almost any scenario required by any service model.

 

Class ID Display Name Library Hosting Relationship When to Use Effects

Microsoft.Windows.ComputerRole

Windows Computer Role

Microsoft.Windows.Library

Hosted by Windows Computer.

Indicates a primary role of a server.

Health automatically rolled up to computer.

Microsoft.Windows.LocalApplication

Windows Local Application

Microsoft.Windows.Library

Hosted by Windows Computer.

Application that is running on a computer but not the primary server role.

Health not automatically rolled up to computer.

Microsoft.Windows.ApplicationComponent

Windows Application Component

Microsoft.Windows.Library

Unhosted

A component of an application.

A hosting relationship can be created by using another class, typically based on ComputerRole or LocalApplication.

System.Service

Distributed Application

System.Library

Unhosted

Represents an application for health rollup.

Instances listed in the Distributed Applications view.

System.ApplicationComponent

Application Component

System.Library

Unhosted

Used for application components not hosted by a computer that is running Windows.

Microsoft.SystemCenter.InstanceGroup

Instance Group

Microsoft.SystemCenter.InstanceGroup.Library

Unhosted

Singleton

Base class for groups of instances of one or more classes.

Included in the Groups list in the Operations console.

Microsoft.SystemCenter.ComputerGroup

Computer Group

Microsoft.SystemCenter.Library

Unhosted

Singleton

Base class for computer groups.

Included in the Groups list in the Operations console.

System.Group

Group

System.Library

Unhosted

Singleton

Base class for groups used for health rollup.

Not included in the Groups list in the Operations console.

顯示: