Alert.ServerRoleInstance Property
Gets or sets the specific service instance that the alert is associated with.
Alert.ServerRoleInstance
Access
Read/Write
Return Value
String
Remarks
The ServerRoleInstance property represents a specific instance of the service described by the ServerRole property. In many cases, a computer will be running more than one instance of a type of service.
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 ServerRoleInstance 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