MonitoringTaskCriteria Constructor (String)
Applies To: Operations Manager for System Center 2012
Initializes a new MonitoringTaskCriteria object.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public MonitoringTaskCriteria(
string criteria
)
public:
MonitoringTaskCriteria(
String^ criteria
)
new :
criteria:string -> MonitoringTaskCriteria
Public Sub New (
criteria As String
)
Parameters
criteria
Type: System.StringThe criteria expression used to filter out monitoring task results.
Remarks
The following property names are valid names that can be used in the criteria expression:
Id
Name
ManagementPackId
TargetMonitoringClassId
Enabled
Category
DisplayName
Description
Accessibility
Remotable
Timeout
TimeAdded
LastModified
For information about the criteria expression syntax, see Criteria Expression Syntax
Examples
For an example of the MonitoringTaskCriteria constructor, see How to Asynchronously Run a Management Pack Task
See Also
MonitoringTaskCriteria Class
Microsoft.EnterpriseManagement.Configuration Namespace
Return to top