Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim criteria As String Dim managementPackClass As ManagementPackClass Dim managementPack As ManagementPack Dim managementGroup As EnterpriseManagementGroup Dim instance As New EnterpriseManagementObjectCriteria(criteria, managementPackClass, managementPack, managementGroup) |
Syntax
Visual Basic |
---|
Public Sub New ( _ criteria As String, _ managementPackClass As ManagementPackClass, _ managementPack As ManagementPack, _ managementGroup As EnterpriseManagementGroup _ ) |
C# |
---|
public EnterpriseManagementObjectCriteria ( string criteria, ManagementPackClass managementPackClass, ManagementPack managementPack, EnterpriseManagementGroup managementGroup ) |
C++ |
---|
public: EnterpriseManagementObjectCriteria ( String^ criteria, ManagementPackClass^ managementPackClass, ManagementPack^ managementPack, EnterpriseManagementGroup^ managementGroup ) |
J# |
---|
public EnterpriseManagementObjectCriteria ( String criteria, ManagementPackClass managementPackClass, ManagementPack managementPack, EnterpriseManagementGroup managementGroup ) |
JScript |
---|
public function EnterpriseManagementObjectCriteria ( criteria : String, managementPackClass : ManagementPackClass, managementPack : ManagementPack, managementGroup : EnterpriseManagementGroup ) |
Parameters
- criteria
-
The criteria to search for.
- managementPackClass
-
The management pack entity being queried.
- managementPack
-
The management pack.
- managementGroup
-
The management group.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException |
The managementPackClass 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. |