Share via


Alert.Component Property

Gets or sets the type of service component that the alert is associated with.

 Alert.Component

Access

Read/Write

Return Value

String

Remarks

The ComponentInstance property represents a specific instance of the service component described by the Component property. In some cases, a service will contain more than one instance of the component.

State monitoring uses the ServerRole, ServerRoleInstance, Component, and ComponentInstance properties to determine a computer's overall state, and to precisely specify the cause of any problems. The ServerRoleInstance property specifies which service caused the alert. The ComponentInstance property, in turn, specifies which component within the service caused the alert.

The Component property is read-only when used with an Alert object provided to the script by MOM. This property is read/write when used with a new Alert object created with the ScriptContext.CreateAlert method.

Requirements

Platforms: Requires Windows 2000 or later

Version: Requires MOM 2005 or later

See Also

Alert Object | Alert.ServerRole Property | Alert.ComponentInstance Property