Compartilhar via


ObjectProjectionCriteria Constructor (String, ManagementPackTypeProjection, EnterpriseManagementGroup)

[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 ObjectProjectionCriteria class for criteria with object identifiers and/or embedded management pack references.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim criteria As String
Dim typeProjection As ManagementPackTypeProjection
Dim managementGroup As EnterpriseManagementGroup

Dim instance As New ObjectProjectionCriteria(criteria, typeProjection, managementGroup)

Syntax

'Declaration
Public Sub New ( _
    criteria As String, _
    typeProjection As ManagementPackTypeProjection, _
    managementGroup As EnterpriseManagementGroup _
)
public ObjectProjectionCriteria (
    string criteria,
    ManagementPackTypeProjection typeProjection,
    EnterpriseManagementGroup managementGroup
)
public:
ObjectProjectionCriteria (
    String^ criteria, 
    ManagementPackTypeProjection^ typeProjection, 
    EnterpriseManagementGroup^ managementGroup
)
public ObjectProjectionCriteria (
    String criteria, 
    ManagementPackTypeProjection typeProjection, 
    EnterpriseManagementGroup managementGroup
)
public function ObjectProjectionCriteria (
    criteria : String, 
    typeProjection : ManagementPackTypeProjection, 
    managementGroup : EnterpriseManagementGroup
)

Parameters

  • criteria
    The criteria to search for.
  • typeProjection
    The type projection the criteria references.
  • managementGroup
    The management group.

Exceptions

Exception type Condition
ArgumentNullException

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

-or-

The typeProjection 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.

-or-

The criteria is valid XML but not valid XML criteria.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ObjectProjectionCriteria Class
ObjectProjectionCriteria Members
Microsoft.EnterpriseManagement.Common Namespace