MonitoringObjectGenericCriteria Constructor (String)
Applies To: Operations Manager for System Center 2012
Initializes a new MonitoringObjectGenericCriteria object.
Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public MonitoringObjectGenericCriteria(
string criteria
)
public:
MonitoringObjectGenericCriteria(
String^ criteria
)
new :
criteria:string -> MonitoringObjectGenericCriteria
Public Sub New (
criteria As String
)
Parameters
criteria
Type: System.StringThe criteria expression used to filter out generic monitoring object results returned by the GetMonitoringObjects, GetPartialMonitoringObjects, M:Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject.GetRelatedMonitoringObjects(Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGenericCriteria) and M:Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject.GetRelatedPartialMonitoringObjects(Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGenericCriteria) methods.
Remarks
The following are valid property names that you can use in the criteria expression, whether for a regular or partial monitoring object:
Id
Name
Path
FullName
DisplayName
IsManaged
LastModified
HealthState
StateLastModified
IsAvailable
AvailabilityLastModified
InMaintenanceMode
MaintenanceModeLastModified
For information about the criteria expression syntax, see Criteria Expression Syntax.
See Also
MonitoringObjectGenericCriteria Class
Microsoft.EnterpriseManagement.Monitoring Namespace
Return to top