ManagementServer.EditAgentAssignment Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Edits an agent assignment rule in the management server.
Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Usage
'Usage
Dim instance As ManagementServer
Dim domain As String
Dim ldapQuery As String
Dim excludeList As ReadOnlyCollection(Of String)
instance.EditAgentAssignment(domain, ldapQuery, excludeList)
Syntax
'Declaration
Public Sub EditAgentAssignment ( _
domain As String, _
ldapQuery As String, _
excludeList As ReadOnlyCollection(Of String) _
)
public void EditAgentAssignment (
string domain,
string ldapQuery,
ReadOnlyCollection<string> excludeList
)
public:
void EditAgentAssignment (
String^ domain,
String^ ldapQuery,
ReadOnlyCollection<String^>^ excludeList
)
public void EditAgentAssignment (
String domain,
String ldapQuery,
ReadOnlyCollection<String> excludeList
)
public function EditAgentAssignment (
domain : String,
ldapQuery : String,
excludeList : ReadOnlyCollection<String>
)
Parameters
- domain
The name of the agent assignment rule as a String object to edit.
- ldapQuery
Lightweight Directory Access Protocol (LDAP) query as a String object by which to search for the agent rules to edit.
- excludeList
A ReadOnlyCollection object of String objects that represent the names of agents to be excluded from the edit.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
ManagementServer Class
ManagementServer Members
Microsoft.EnterpriseManagement.Administration Namespace