MonitoringObjectCriteria Constructor (String, ManagementPackClass)

Updated: April 16, 2012

Initializes a new MonitoringObjectCriteria object. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim criteria As String Dim managementPackClass As ManagementPackClass Dim instance As New MonitoringObjectCriteria(criteria, managementPackClass)Public Sub New ( _ criteria As String, _ managementPackClass As ManagementPackClass _ )public MonitoringObjectCriteria ( string criteria, ManagementPackClass managementPackClass )public: MonitoringObjectCriteria ( String^ criteria, ManagementPackClass^ managementPackClass )public MonitoringObjectCriteria ( String criteria, ManagementPackClass managementPackClass )public function MonitoringObjectCriteria ( criteria : String, managementPackClass : ManagementPackClass )ParameterscriteriaThe criteria expression used to filter out monitoring object results returned by the GetMonitoringObjects method and the GetRelatedMonitoringObjects method.managementPackClassThe MonitoringClass object that this criteria corresponds to.

You can get a list of the property names that can be used in the criteria expression by using the GetValidPropertyNames method. For information about the criteria expression syntax, see Criteria Expression Syntax.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms