ManagementServer.EditAgentAssignment(String, String, ReadOnlyCollection<String>) Method

Definition

Edit an agent assignment rule

public:
 void EditAgentAssignment(System::String ^ domain, System::String ^ ldapQuery, System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ excludeList);
public void EditAgentAssignment (string domain, string ldapQuery, System.Collections.ObjectModel.ReadOnlyCollection<string> excludeList);
member this.EditAgentAssignment : string * string * System.Collections.ObjectModel.ReadOnlyCollection<string> -> unit
Public Sub EditAgentAssignment (domain As String, ldapQuery As String, excludeList As ReadOnlyCollection(Of String))

Parameters

domain
String

The name of the agent assignment rule as a String object to edit.

ldapQuery
String

Lightweight Directory Access Protocol (LDAP) query as a String object by which to search for the agent rules to edit.

excludeList
ReadOnlyCollection<String>

A System.Collections.ObjectModel.ReadOnlyCollection object of String objects that represent the names of agents to be excluded from the edit.

Exceptions

Not currently connected to a management group.

Applies to