Compartilhar via


ManagementServer.EndExecuteUninstallAgents Method (IAsyncResult)

 

Applies To: Operations Manager for System Center 2012

Finishes an operation to remove agents from managed computers.

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

Syntax

public AgentTaskResult EndExecuteUninstallAgents(
    IAsyncResult asyncResult
)
public:
AgentTaskResult^ EndExecuteUninstallAgents(
    IAsyncResult^ asyncResult
)
member EndExecuteUninstallAgents : 
        asyncResult:IAsyncResult -> AgentTaskResult
Public Function EndExecuteUninstallAgents (
    asyncResult As IAsyncResult
) As AgentTaskResult

Parameters

Return Value

Type: Microsoft.EnterpriseManagement.Administration.AgentTaskResult

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

Remarks

The EndExecuteUninstallAgents method is a blocking method that completes the asynchronous discovery request started in the BeginExecuteUninstallAgents method.

See Also

ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top