Sets a response for a monitoring object. Namespace: Microsoft.EnterpriseManagement.Monitoring.ClientMonitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ClientMonitoringResponseSettings
Dim monitoringObject As MonitoringObject
Dim solutionResponseType As AemResponseType
Dim collectionResponseType As AemResponseType
Dim solutionResponse As String
Dim collectionResponse As AemCollectionResponse

instance.SetResponse(monitoringObject, solutionResponseType, collectionResponseType, solutionResponse, collectionResponse)

Syntax

Visual Basic
Public Sub SetResponse ( _
		monitoringObject As MonitoringObject, _
		solutionResponseType As AemResponseType, _
		collectionResponseType As AemResponseType, _
		solutionResponse As String, _
		collectionResponse As AemCollectionResponse _
)
C#
public void SetResponse (
		MonitoringObject monitoringObject,
		AemResponseType solutionResponseType,
		AemResponseType collectionResponseType,
		string solutionResponse,
		AemCollectionResponse collectionResponse
)
C++
public:
void SetResponse (
		MonitoringObject^ monitoringObject, 
		AemResponseType solutionResponseType, 
		AemResponseType collectionResponseType, 
		String^ solutionResponse, 
		AemCollectionResponse^ collectionResponse
)
J#
public void SetResponse (
		MonitoringObject monitoringObject, 
		AemResponseType solutionResponseType, 
		AemResponseType collectionResponseType, 
		String solutionResponse, 
		AemCollectionResponse collectionResponse
)
JScript
public function SetResponse (
		monitoringObject : MonitoringObject, 
		solutionResponseType : AemResponseType, 
		collectionResponseType : AemResponseType, 
		solutionResponse : String, 
		collectionResponse : AemCollectionResponse
)

Parameters

monitoringObject

The monitoring object.

solutionResponseType

The solution response type.

collectionResponseType

The collection response type.

solutionResponse
collectionResponse

The collection response to set.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also