[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 EnterpriseManagementObjectGenericCriteria class with a non-XML-based criteria string. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim criteria As String

Dim instance As New EnterpriseManagementObjectGenericCriteria(criteria)

Syntax

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

Parameters

criteria

The criteria string.

Exceptions

Exception type Condition
InvalidCriteriaException

The criteria is XML. A different constructor should be used when creating the class instance.

Platforms

Development Platforms

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

Target Platforms

Windows Server 2008,Windows Server 2003

See Also