Initializes a new MonitoringTaskResultCriteria object. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim criteria As String

Dim instance As New MonitoringTaskResultCriteria(criteria)

Syntax

Visual Basic
Public Sub New ( _
		criteria As String _
)
C#
public MonitoringTaskResultCriteria (
		string criteria
)
C++
public:
MonitoringTaskResultCriteria (
		String^ criteria
)
J#
public MonitoringTaskResultCriteria (
		String criteria
)
JScript
public function MonitoringTaskResultCriteria (
		criteria : String
)

Parameters

criteria

The 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

  • MonitoringTaskId

  • BatchId

  • SubmittedBy

  • RunningAs

  • TargetMonitoringObjectId

  • TargetMonitoringClassId

  • LocationId

  • Status

  • Output

  • ErrorCode

  • ErrorMessage

  • TimeScheduled

  • TimeStarted

  • TimeFinished

  • LastModified

For information about the criteria expression syntax, see Criteria Expression Syntax.


Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also