Applies To: Operations Manager for System Center 2012
Gets the name of the agent targeted by the task.
Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public string AgentName { get; }
public:
property String^ AgentName {
    String^ get();
}
member AgentName : string with get
Public ReadOnly Property AgentName As String
Property Value
Type: System.String
Returns a String that contains the name of the agent targeted by the task.
See Also
AgentOperationResult Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top