次の方法で共有


ManagementServer.UninstallAgents Method

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

Removes agents from a specified collection of agent-managed computers.

Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As ManagementServer
Dim agentManagedComputer As IList(Of AgentManagedComputer)
Dim uninstallAgentConfiguration As UninstallAgentConfiguration
Dim returnValue As AgentTaskResult

returnValue = instance.UninstallAgents(agentManagedComputer, uninstallAgentConfiguration)

Syntax

'Declaration
Public Function UninstallAgents ( _
    agentManagedComputer As IList(Of AgentManagedComputer), _
    uninstallAgentConfiguration As UninstallAgentConfiguration _
) As AgentTaskResult
public AgentTaskResult UninstallAgents (
    IList<AgentManagedComputer> agentManagedComputer,
    UninstallAgentConfiguration uninstallAgentConfiguration
)
public:
AgentTaskResult^ UninstallAgents (
    IList<AgentManagedComputer^>^ agentManagedComputer, 
    UninstallAgentConfiguration^ uninstallAgentConfiguration
)
public AgentTaskResult UninstallAgents (
    IList<AgentManagedComputer> agentManagedComputer, 
    UninstallAgentConfiguration uninstallAgentConfiguration
)
public function UninstallAgents (
    agentManagedComputer : IList<AgentManagedComputer>, 
    uninstallAgentConfiguration : UninstallAgentConfiguration
) : AgentTaskResult

Parameters

  • agentManagedComputer
    The agent-managed computers on which to uninstall agents.
  • uninstallAgentConfiguration
    Information used to configure the agent uninstalls.

Return Value

Returns an AgentTaskResult object that contains the results of the uninstall operation.

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

ManagementServer Class
ManagementServer Members
Microsoft.EnterpriseManagement.Administration Namespace