Initializes a new ManagementServerCriteria 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 ManagementServerCriteria(criteria)

Syntax

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

Parameters

criteria

The criteria expression used to filter out Management Server results returned by the GetManagementServers method.

Example

For an example of the ManagementServerCriteria 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

[an error occurred while processing this directive]