Share via


AgentAssignment Constructor (String, String, ReadOnlyCollection, ManagementPackSecureReference, ReadOnlyCollection)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new AgentAssignment object.

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

Usage

'Usage
Dim domain As String
Dim ldapQuery As String
Dim excludeList As ReadOnlyCollection(Of String)
Dim secureReference As ManagementPackSecureReference
Dim failoverList As ReadOnlyCollection(Of ManagementServer)

Dim instance As New AgentAssignment(domain, ldapQuery, excludeList, secureReference, failoverList)

Syntax

'Declaration
Public Sub New ( _
    domain As String, _
    ldapQuery As String, _
    excludeList As ReadOnlyCollection(Of String), _
    secureReference As ManagementPackSecureReference, _
    failoverList As ReadOnlyCollection(Of ManagementServer) _
)
public AgentAssignment (
    string domain,
    string ldapQuery,
    ReadOnlyCollection<string> excludeList,
    ManagementPackSecureReference secureReference,
    ReadOnlyCollection<ManagementServer> failoverList
)
public:
AgentAssignment (
    String^ domain, 
    String^ ldapQuery, 
    ReadOnlyCollection<String^>^ excludeList, 
    ManagementPackSecureReference^ secureReference, 
    ReadOnlyCollection<ManagementServer^>^ failoverList
)
public AgentAssignment (
    String domain, 
    String ldapQuery, 
    ReadOnlyCollection<String> excludeList, 
    ManagementPackSecureReference secureReference, 
    ReadOnlyCollection<ManagementServer> failoverList
)
public function AgentAssignment (
    domain : String, 
    ldapQuery : String, 
    excludeList : ReadOnlyCollection<String>, 
    secureReference : ManagementPackSecureReference, 
    failoverList : ReadOnlyCollection<ManagementServer>
)

Parameters

  • domain
    Sets the value of the Domain property.
  • ldapQuery
    Sets the value of the LdapQuery property.
  • excludeList
    Sets the value of the ExcludeList property.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

AgentAssignment Class
AgentAssignment Members
Microsoft.EnterpriseManagement.Administration Namespace