MonitoringObjectGenericCriteria Constructor (String)

Updated: April 16, 2012

Initializes a new MonitoringObjectGenericCriteria object. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim criteria As String Dim instance As New MonitoringObjectGenericCriteria(criteria)Public Sub New ( _ criteria As String _ )public MonitoringObjectGenericCriteria ( string criteria )public: MonitoringObjectGenericCriteria ( String^ criteria )public MonitoringObjectGenericCriteria ( String criteria )public function MonitoringObjectGenericCriteria ( criteria : String )ParameterscriteriaThe criteria expression used to filter out generic monitoring object results returned by the GetMonitoringObjects, GetPartialMonitoringObjects, GetRelatedMonitoringObjects and GetRelatedPartialMonitoringObjects methods.

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.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms