Initializes a new AgentAssignment object. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim domain As String
Dim ldapQuery As String
Dim excludeList As ReadOnlyCollection(Of String)
Dim secureReference As MonitoringSecureReference
Dim failoverList As ReadOnlyCollection(Of ManagementServer)

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

Syntax

Visual Basic
Public Sub New ( _
		domain As String, _
		ldapQuery As String, _
		excludeList As ReadOnlyCollection(Of String), _
		secureReference As MonitoringSecureReference, _
		failoverList As ReadOnlyCollection(Of ManagementServer) _
)
C#
public AgentAssignment (
		string domain,
		string ldapQuery,
		ReadOnlyCollection<string> excludeList,
		MonitoringSecureReference secureReference,
		ReadOnlyCollection<ManagementServer> failoverList
)
C++
public:
AgentAssignment (
		String^ domain, 
		String^ ldapQuery, 
		ReadOnlyCollection<String^>^ excludeList, 
		MonitoringSecureReference^ secureReference, 
		ReadOnlyCollection<ManagementServer^>^ failoverList
)
J#
public AgentAssignment (
		String domain, 
		String ldapQuery, 
		ReadOnlyCollection<String> excludeList, 
		MonitoringSecureReference secureReference, 
		ReadOnlyCollection<ManagementServer> failoverList
)
JScript
public function AgentAssignment (
		domain : String, 
		ldapQuery : String, 
		excludeList : ReadOnlyCollection<String>, 
		secureReference : MonitoringSecureReference, 
		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.

secureReference

Sets the value of the DomainCredential property.

failoverList

Sets the value of the FailoverList property.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also