Share via


ManagementServer.SubmitUninstallAgents Method

Definition

Starts an asynchronous operation to uninstall agents on a specified collection of managed computers and receives notification when the status of any uninstall changes.

Overloads

SubmitUninstallAgents(IList<PartialAgentManagedComputer>, UninstallAgentConfiguration, TaskStatusChangeCallback)

Submit uninstall agents.

SubmitUninstallAgents(IList<PartialAgentManagedComputer>, UninstallAgentConfiguration, MonitoringTaskStatusChangeCallback)
Obsolete.

Submit uninstall agents.

SubmitUninstallAgents(IList<AgentManagedComputer>, UninstallAgentConfiguration, MonitoringTaskStatusChangeCallback)
Obsolete.

Submit uninstall agents.

SubmitUninstallAgents(IList<AgentManagedComputer>, UninstallAgentConfiguration, TaskStatusChangeCallback)

Submit uninstall agents.

SubmitUninstallAgents(IList<PartialAgentManagedComputer>, UninstallAgentConfiguration, TaskStatusChangeCallback)

Submit uninstall agents.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskInformation ^ SubmitUninstallAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::PartialAgentManagedComputer ^> ^ agentManagedComputers, Microsoft::EnterpriseManagement::Administration::UninstallAgentConfiguration ^ uninstallAgentConfiguration, Microsoft::EnterpriseManagement::Runtime::TaskStatusChangeCallback ^ callback);
public Microsoft.EnterpriseManagement.Administration.AgentTaskInformation SubmitUninstallAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.PartialAgentManagedComputer> agentManagedComputers, Microsoft.EnterpriseManagement.Administration.UninstallAgentConfiguration uninstallAgentConfiguration, Microsoft.EnterpriseManagement.Runtime.TaskStatusChangeCallback callback);
member this.SubmitUninstallAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.PartialAgentManagedComputer> * Microsoft.EnterpriseManagement.Administration.UninstallAgentConfiguration * Microsoft.EnterpriseManagement.Runtime.TaskStatusChangeCallback -> Microsoft.EnterpriseManagement.Administration.AgentTaskInformation
Public Function SubmitUninstallAgents (agentManagedComputers As IList(Of PartialAgentManagedComputer), uninstallAgentConfiguration As UninstallAgentConfiguration, callback As TaskStatusChangeCallback) As AgentTaskInformation

Parameters

agentManagedComputers
IList<PartialAgentManagedComputer>
uninstallAgentConfiguration
UninstallAgentConfiguration

Configuration.

callback
TaskStatusChangeCallback

Callback.

Returns

Agent task information.

Applies to

SubmitUninstallAgents(IList<PartialAgentManagedComputer>, UninstallAgentConfiguration, MonitoringTaskStatusChangeCallback)

Caution

Use this.SubmitUninstallAgents with TaskStatusChangeCallback

Submit uninstall agents.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskInformation ^ SubmitUninstallAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::PartialAgentManagedComputer ^> ^ agentManagedComputers, Microsoft::EnterpriseManagement::Administration::UninstallAgentConfiguration ^ uninstallAgentConfiguration, Microsoft::EnterpriseManagement::Monitoring::MonitoringTaskStatusChangeCallback ^ callback);
[System.Obsolete("Use this.SubmitUninstallAgents with TaskStatusChangeCallback")]
public Microsoft.EnterpriseManagement.Administration.AgentTaskInformation SubmitUninstallAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.PartialAgentManagedComputer> agentManagedComputers, Microsoft.EnterpriseManagement.Administration.UninstallAgentConfiguration uninstallAgentConfiguration, Microsoft.EnterpriseManagement.Monitoring.MonitoringTaskStatusChangeCallback callback);
member this.SubmitUninstallAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.PartialAgentManagedComputer> * Microsoft.EnterpriseManagement.Administration.UninstallAgentConfiguration * Microsoft.EnterpriseManagement.Monitoring.MonitoringTaskStatusChangeCallback -> Microsoft.EnterpriseManagement.Administration.AgentTaskInformation
Public Function SubmitUninstallAgents (agentManagedComputers As IList(Of PartialAgentManagedComputer), uninstallAgentConfiguration As UninstallAgentConfiguration, callback As MonitoringTaskStatusChangeCallback) As AgentTaskInformation

Parameters

agentManagedComputers
IList<PartialAgentManagedComputer>

The list of agent-managed computers to uninstall.

uninstallAgentConfiguration
UninstallAgentConfiguration

Configuration.

Returns

Agent task information.

Attributes

Applies to

SubmitUninstallAgents(IList<AgentManagedComputer>, UninstallAgentConfiguration, MonitoringTaskStatusChangeCallback)

Caution

Use this.SubmitUninstallAgents with TaskStatusChangeCallback

Submit uninstall agents.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskInformation ^ SubmitUninstallAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::AgentManagedComputer ^> ^ agentManagedComputers, Microsoft::EnterpriseManagement::Administration::UninstallAgentConfiguration ^ uninstallAgentConfiguration, Microsoft::EnterpriseManagement::Monitoring::MonitoringTaskStatusChangeCallback ^ callback);
[System.Obsolete("Use this.SubmitUninstallAgents with TaskStatusChangeCallback")]
public Microsoft.EnterpriseManagement.Administration.AgentTaskInformation SubmitUninstallAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> agentManagedComputers, Microsoft.EnterpriseManagement.Administration.UninstallAgentConfiguration uninstallAgentConfiguration, Microsoft.EnterpriseManagement.Monitoring.MonitoringTaskStatusChangeCallback callback);
member this.SubmitUninstallAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> * Microsoft.EnterpriseManagement.Administration.UninstallAgentConfiguration * Microsoft.EnterpriseManagement.Monitoring.MonitoringTaskStatusChangeCallback -> Microsoft.EnterpriseManagement.Administration.AgentTaskInformation
Public Function SubmitUninstallAgents (agentManagedComputers As IList(Of AgentManagedComputer), uninstallAgentConfiguration As UninstallAgentConfiguration, callback As MonitoringTaskStatusChangeCallback) As AgentTaskInformation

Parameters

agentManagedComputers
IList<AgentManagedComputer>

The agent-managed computers on which to uninstall agents.

uninstallAgentConfiguration
UninstallAgentConfiguration

Configuration.

Returns

Agent task information.

Attributes

Applies to

SubmitUninstallAgents(IList<AgentManagedComputer>, UninstallAgentConfiguration, TaskStatusChangeCallback)

Submit uninstall agents.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskInformation ^ SubmitUninstallAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::AgentManagedComputer ^> ^ agentManagedComputers, Microsoft::EnterpriseManagement::Administration::UninstallAgentConfiguration ^ uninstallAgentConfiguration, Microsoft::EnterpriseManagement::Runtime::TaskStatusChangeCallback ^ callback);
public Microsoft.EnterpriseManagement.Administration.AgentTaskInformation SubmitUninstallAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> agentManagedComputers, Microsoft.EnterpriseManagement.Administration.UninstallAgentConfiguration uninstallAgentConfiguration, Microsoft.EnterpriseManagement.Runtime.TaskStatusChangeCallback callback);
member this.SubmitUninstallAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> * Microsoft.EnterpriseManagement.Administration.UninstallAgentConfiguration * Microsoft.EnterpriseManagement.Runtime.TaskStatusChangeCallback -> Microsoft.EnterpriseManagement.Administration.AgentTaskInformation
Public Function SubmitUninstallAgents (agentManagedComputers As IList(Of AgentManagedComputer), uninstallAgentConfiguration As UninstallAgentConfiguration, callback As TaskStatusChangeCallback) As AgentTaskInformation

Parameters

agentManagedComputers
IList<AgentManagedComputer>
uninstallAgentConfiguration
UninstallAgentConfiguration

Configuration.

callback
TaskStatusChangeCallback

Callback.

Returns

Agent task information.

Applies to