ObjectProjectionCriteria Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the ObjectProjectionCriteria class.
Overloads
ObjectProjectionCriteria(ManagementPackTypeProjection) |
Creates a new instance of the ObjectProjectionCriteria class, linking it to a specific type projection. |
ObjectProjectionCriteria(String, ManagementPackTypeProjection, EnterpriseManagementGroup) |
Creates a new instance of the ObjectProjectionCriteria class for criteria with object identifiers and/or embedded management pack references. |
ObjectProjectionCriteria(String, ManagementPackTypeProjection, ManagementPack, EnterpriseManagementGroup) |
Creates a new instance of the ObjectProjectionCriteria class from a specific management pack, with local references to the management pack group. |
ObjectProjectionCriteria(ManagementPackTypeProjection)
Creates a new instance of the ObjectProjectionCriteria class, linking it to a specific type projection.
public:
ObjectProjectionCriteria(Microsoft::EnterpriseManagement::Configuration::ManagementPackTypeProjection ^ typeProjection);
public ObjectProjectionCriteria (Microsoft.EnterpriseManagement.Configuration.ManagementPackTypeProjection typeProjection);
new Microsoft.EnterpriseManagement.Common.ObjectProjectionCriteria : Microsoft.EnterpriseManagement.Configuration.ManagementPackTypeProjection -> Microsoft.EnterpriseManagement.Common.ObjectProjectionCriteria
Public Sub New (typeProjection As ManagementPackTypeProjection)
Parameters
- typeProjection
- ManagementPackTypeProjection
The type projection the criteria references.
Applies to
ObjectProjectionCriteria(String, ManagementPackTypeProjection, EnterpriseManagementGroup)
Creates a new instance of the ObjectProjectionCriteria class for criteria with object identifiers and/or embedded management pack references.
public:
ObjectProjectionCriteria(System::String ^ criteria, Microsoft::EnterpriseManagement::Configuration::ManagementPackTypeProjection ^ typeProjection, Microsoft::EnterpriseManagement::EnterpriseManagementGroup ^ managementGroup);
public ObjectProjectionCriteria (string criteria, Microsoft.EnterpriseManagement.Configuration.ManagementPackTypeProjection typeProjection, Microsoft.EnterpriseManagement.EnterpriseManagementGroup managementGroup);
new Microsoft.EnterpriseManagement.Common.ObjectProjectionCriteria : string * Microsoft.EnterpriseManagement.Configuration.ManagementPackTypeProjection * Microsoft.EnterpriseManagement.EnterpriseManagementGroup -> Microsoft.EnterpriseManagement.Common.ObjectProjectionCriteria
Public Sub New (criteria As String, typeProjection As ManagementPackTypeProjection, managementGroup As EnterpriseManagementGroup)
Parameters
- criteria
- String
The criteria to search for.
- typeProjection
- ManagementPackTypeProjection
The type projection the criteria references.
- managementGroup
- EnterpriseManagementGroup
The management group.
Exceptions
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).
The criteria
is not valid XML.
-or-
The criteria
is valid XML but not valid XML criteria.
Applies to
ObjectProjectionCriteria(String, ManagementPackTypeProjection, ManagementPack, EnterpriseManagementGroup)
Creates a new instance of the ObjectProjectionCriteria class from a specific management pack, with local references to the management pack group.
public:
ObjectProjectionCriteria(System::String ^ criteria, Microsoft::EnterpriseManagement::Configuration::ManagementPackTypeProjection ^ typeProjection, Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ managementPack, Microsoft::EnterpriseManagement::EnterpriseManagementGroup ^ managementGroup);
public ObjectProjectionCriteria (string criteria, Microsoft.EnterpriseManagement.Configuration.ManagementPackTypeProjection typeProjection, Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack, Microsoft.EnterpriseManagement.EnterpriseManagementGroup managementGroup);
new Microsoft.EnterpriseManagement.Common.ObjectProjectionCriteria : string * Microsoft.EnterpriseManagement.Configuration.ManagementPackTypeProjection * Microsoft.EnterpriseManagement.Configuration.ManagementPack * Microsoft.EnterpriseManagement.EnterpriseManagementGroup -> Microsoft.EnterpriseManagement.Common.ObjectProjectionCriteria
Public Sub New (criteria As String, typeProjection As ManagementPackTypeProjection, managementPack As ManagementPack, managementGroup As EnterpriseManagementGroup)
Parameters
- criteria
- String
The criteria to search for.
- typeProjection
- ManagementPackTypeProjection
The type projection the criteria references.
- managementPack
- ManagementPack
The management pack where the criteria is defined.
- managementGroup
- EnterpriseManagementGroup
The management group.
Exceptions
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).
The criteria
is not valid XML.
-or-
The criteria
is valid XML but not valid XML criteria.