次の方法で共有


EnterpriseManagementObjectGenericCriteria Constructor (String)

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

'Usage
Dim criteria As String

Dim instance As New EnterpriseManagementObjectGenericCriteria(criteria)

Syntax

'Declaration
Public Sub New ( _
    criteria As String _
)
public EnterpriseManagementObjectGenericCriteria (
    string criteria
)
public:
EnterpriseManagementObjectGenericCriteria (
    String^ criteria
)
public EnterpriseManagementObjectGenericCriteria (
    String criteria
)
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 Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

EnterpriseManagementObjectGenericCriteria Class
EnterpriseManagementObjectGenericCriteria Members
Microsoft.EnterpriseManagement.Common Namespace