[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Creates a new instance of the EnterpriseManagementObjectCriteria class with an XML-based criteria string and the management pack entity to search. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim criteria As String
Dim managementPackClass As ManagementPackClass
Dim managementGroup As EnterpriseManagementGroup

Dim instance As New EnterpriseManagementObjectCriteria(criteria, managementPackClass, managementGroup)

Syntax

Visual Basic
Public Sub New ( _
		criteria As String, _
		managementPackClass As ManagementPackClass, _
		managementGroup As EnterpriseManagementGroup _
)
C#
public EnterpriseManagementObjectCriteria (
		string criteria,
		ManagementPackClass managementPackClass,
		EnterpriseManagementGroup managementGroup
)
C++
public:
EnterpriseManagementObjectCriteria (
		String^ criteria, 
		ManagementPackClass^ managementPackClass, 
		EnterpriseManagementGroup^ managementGroup
)
J#
public EnterpriseManagementObjectCriteria (
		String criteria, 
		ManagementPackClass managementPackClass, 
		EnterpriseManagementGroup managementGroup
)
JScript
public function EnterpriseManagementObjectCriteria (
		criteria : String, 
		managementPackClass : ManagementPackClass, 
		managementGroup : EnterpriseManagementGroup
)

Parameters

criteria

The criteria to search for.

managementPackClass

The management pack entity being queried.

managementGroup

The management group.

Exceptions

Exception type Condition
ArgumentNullException

The managementPackClass parameter is a null reference (Nothing in Visual Basic).

- or -

The managementGroup parameter is a null reference (Nothing in Visual Basic).

InvalidCriteriaException

The criteria is not valid XML.

Platforms

Development Platforms

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

Target Platforms

Windows Server 2008,Windows Server 2003

See Also