MonitoringObjectCriteria 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.
Overloads
MonitoringObjectCriteria(String, ManagementPackClass) |
Constructor. |
MonitoringObjectCriteria(String, ManagementPackClass, EnterpriseManagementGroup) | |
MonitoringObjectCriteria(String, ManagementPackClass, ManagementPack, EnterpriseManagementGroup) |
Constructor for criteria with Guids or embedded management pack references. |
MonitoringObjectCriteria(String, ManagementPackClass)
Constructor.
public:
MonitoringObjectCriteria(System::String ^ criteria, Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass);
public MonitoringObjectCriteria (string criteria, Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass);
new Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectCriteria : string * Microsoft.EnterpriseManagement.Configuration.ManagementPackClass -> Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectCriteria
Public Sub New (criteria As String, managementPackClass As ManagementPackClass)
Parameters
- criteria
- String
Criteria string.
- managementPackClass
- ManagementPackClass
Managed entity type being queried.
Exceptions
monitoringClass is null.
type is abstract.
Examples
For an example of the MonitoringObjectCriteria constructor, see How to Synchronously Run a Management Pack Task.
Remarks
You can get a list of the property names that can be used in the criteria expression by using the <xref:Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectCriteria.GetValidPropertyNames%2A> method. For information about the criteria expression syntax, see Criteria Expression Syntax.
Applies to
MonitoringObjectCriteria(String, ManagementPackClass, EnterpriseManagementGroup)
public:
MonitoringObjectCriteria(System::String ^ criteria, Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, Microsoft::EnterpriseManagement::EnterpriseManagementGroup ^ managementGroup);
public MonitoringObjectCriteria (string criteria, Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, Microsoft.EnterpriseManagement.EnterpriseManagementGroup managementGroup);
new Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectCriteria : string * Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * Microsoft.EnterpriseManagement.EnterpriseManagementGroup -> Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectCriteria
Public Sub New (criteria As String, managementPackClass As ManagementPackClass, managementGroup As EnterpriseManagementGroup)
Parameters
- criteria
- String
- managementPackClass
- ManagementPackClass
- managementGroup
- EnterpriseManagementGroup
Applies to
MonitoringObjectCriteria(String, ManagementPackClass, ManagementPack, EnterpriseManagementGroup)
Constructor for criteria with Guids or embedded management pack references.
public:
MonitoringObjectCriteria(System::String ^ criteria, Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ managementPack, Microsoft::EnterpriseManagement::EnterpriseManagementGroup ^ managementGroup);
public MonitoringObjectCriteria (string criteria, Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack, Microsoft.EnterpriseManagement.EnterpriseManagementGroup managementGroup);
new Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectCriteria : string * Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * Microsoft.EnterpriseManagement.Configuration.ManagementPack * Microsoft.EnterpriseManagement.EnterpriseManagementGroup -> Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectCriteria
Public Sub New (criteria As String, managementPackClass As ManagementPackClass, managementPack As ManagementPack, managementGroup As EnterpriseManagementGroup)
Parameters
- criteria
- String
Criteria string.
- managementPackClass
- ManagementPackClass
Managed entity type being queried.
- managementPack
- ManagementPack
The management Pack
- managementGroup
- EnterpriseManagementGroup
The management Group
Exceptions
monitoringClass is null.