Udostępnij za pośrednictwem


ClientMonitoringResponseSettings.SetResponse Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Sets a response for a monitoring object.

Namespace: Microsoft.EnterpriseManagement.Monitoring.ClientMonitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
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

'Declaration
Public Sub SetResponse ( _
    monitoringObject As MonitoringObject, _
    solutionResponseType As AemResponseType, _
    collectionResponseType As AemResponseType, _
    solutionResponse As String, _
    collectionResponse As AemCollectionResponse _
)
public void SetResponse (
    MonitoringObject monitoringObject,
    AemResponseType solutionResponseType,
    AemResponseType collectionResponseType,
    string solutionResponse,
    AemCollectionResponse collectionResponse
)
public:
void SetResponse (
    MonitoringObject^ monitoringObject, 
    AemResponseType solutionResponseType, 
    AemResponseType collectionResponseType, 
    String^ solutionResponse, 
    AemCollectionResponse^ collectionResponse
)
public void SetResponse (
    MonitoringObject monitoringObject, 
    AemResponseType solutionResponseType, 
    AemResponseType collectionResponseType, 
    String solutionResponse, 
    AemCollectionResponse collectionResponse
)
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
    The solution response URL.
  • 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 Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

ClientMonitoringResponseSettings Class
ClientMonitoringResponseSettings Members
Microsoft.EnterpriseManagement.Monitoring.ClientMonitoring Namespace