AgentTaskInformation.GetAgentNames Method ()

 

Applies To: Operations Manager for System Center 2012

Gets a read-only collection of the names of the agents targeted by the tasks in this batch of tasks.

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

Syntax

public ReadOnlyCollection<string> GetAgentNames()
public:
ReadOnlyCollection<String^>^ GetAgentNames()
member GetAgentNames : unit -> ReadOnlyCollection<string>
Public Function GetAgentNames As ReadOnlyCollection(Of String)

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<String>

Returns a ReadOnlyCollection<T> of String values that contain the names of the agents targeted by the tasks in this batch of tasks.

See Also

AgentTaskInformation Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top