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

Usage

Visual Basic
Dim criteria As String

Dim instance As New AgentManagedComputerCriteria(criteria)

Syntax

Visual Basic
Public Sub New ( _
		criteria As String _
)
C#
public AgentManagedComputerCriteria (
		string criteria
)
C++
public:
AgentManagedComputerCriteria (
		String^ criteria
)
J#
public AgentManagedComputerCriteria (
		String criteria
)
JScript
public function AgentManagedComputerCriteria (
		criteria : String
)

Parameters

criteria

The criteria expression used to filter out agent-managed computer results returned by the GetAgentManagedComputers method.

Example

For an example of the AgentManagedComputerCriteria constructor, see How to Install, Remove, or Repair an Operations Manager Agent.

Remarks

The following property names are valid names that can be used in the criteria expression:

  • Id

  • Name

  • LastModified

  • DisplayName

For information about the criteria expression syntax, see Criteria Expression Syntax.


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