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

Updated: April 16, 2012

Initializes a new AgentAssignment object. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)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)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> )ParametersdomainSets the value of the Domain property.ldapQuerySets the value of the LdapQuery property.excludeListSets the value of the ExcludeList property.secureReferenceSets the value of the DomainCredential property.failoverListSets the value of the FailoverList property.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms