Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim criteria As String Dim typeProjection As ManagementPackTypeProjection Dim managementPack As ManagementPack Dim managementGroup As EnterpriseManagementGroup Dim instance As New ObjectProjectionCriteria(criteria, typeProjection, managementPack, managementGroup) |
Syntax
Visual Basic |
---|
Public Sub New ( _ criteria As String, _ typeProjection As ManagementPackTypeProjection, _ managementPack As ManagementPack, _ managementGroup As EnterpriseManagementGroup _ ) |
C# |
---|
public ObjectProjectionCriteria ( string criteria, ManagementPackTypeProjection typeProjection, ManagementPack managementPack, EnterpriseManagementGroup managementGroup ) |
C++ |
---|
public: ObjectProjectionCriteria ( String^ criteria, ManagementPackTypeProjection^ typeProjection, ManagementPack^ managementPack, EnterpriseManagementGroup^ managementGroup ) |
J# |
---|
public ObjectProjectionCriteria ( String criteria, ManagementPackTypeProjection typeProjection, ManagementPack managementPack, EnterpriseManagementGroup managementGroup ) |
JScript |
---|
public function ObjectProjectionCriteria ( criteria : String, typeProjection : ManagementPackTypeProjection, managementPack : ManagementPack, managementGroup : EnterpriseManagementGroup ) |
Parameters
- criteria
-
The criteria to search for.
- typeProjection
-
The type projection the criteria references.
- managementPack
-
The management pack where the criteria is defined.
- 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 managementPack 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. |