ManagementServer.EditAgentAssignment(String, String, ReadOnlyCollection<String>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.