Поделиться через


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

 

Applies To: Operations Manager for System Center 2012

Edits an agent assignment rule in the management server.

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

Syntax

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

Parameters

  • ldapQuery
    Type: System.String

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

See Also

ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top